You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my opinion, if self is converted to a keyword it is impossible to use self keyword to function name, trait name and module name. Is there anything else? Please let me know your opinion about this.
The intent of this bug (which I concur with) is for self to be usable only as the name of the self-parameter in methods, and possibly the lifetime associated with that parameter.
In any case, it's fine by me -- fitting with the purpose of this bug -- if we lose arbitrary additional contexts for its use (function names, trait names, module names, etc.)
Activity
super
to a keyword #4527sonwow commentedon Jan 25, 2013
I'm working on this issue.
sonwow commentedon Feb 4, 2013
In my opinion, if
self
is converted to a keyword it is impossible to useself
keyword to function name, trait name and module name. Is there anything else? Please let me know your opinion about this.graydon commentedon Feb 4, 2013
The intent of this bug (which I concur with) is for
self
to be usable only as the name of theself
-parameter in methods, and possibly the lifetime associated with that parameter.In any case, it's fine by me -- fitting with the purpose of this bug -- if we lose arbitrary additional contexts for its use (function names, trait names, module names, etc.)
z0w0 commentedon Feb 16, 2013
I'm pretty sure this is done now.
catamorphism commentedon Feb 16, 2013
Is this done? I can't find the commit that fixes it.
sonwow commentedon Feb 18, 2013
As far as I know, this is not done. If you want to do this issue, please comment here and do that.
brson commentedon Mar 31, 2013
Not 0.6
sanxiyn commentedon May 3, 2013
Nominating for backwards compatible milestone.
graydon commentedon May 9, 2013
accepted for backwards-compatible milestone
pcwalton commentedon May 16, 2013
Fixed.
Auto merge of rust-lang#6421 - xFrednet:4176-unreadable-literal-lint-…
Merge pull request rust-lang#4176 from rust-lang/rustup-2025-02-04