We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The following code (playpen):
macro_rules! slf { () => (self;) } struct Foo; impl Foo { fn bar(self) { slf!(); } }
causes the error:
`self` is not available in a static method. Maybe a `self` argument is missing?
which is obviously incorrect (and probably caused by a specialized error message if self is an unknown identifier, I would imagine).
The text was updated successfully, but these errors were encountered:
Dupe of #26946.
Sorry, something went wrong.
No branches or pull requests
The following code (playpen):
causes the error:
which is obviously incorrect (and probably caused by a specialized error message if self is an unknown identifier, I would imagine).
The text was updated successfully, but these errors were encountered: