-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
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
Nonsequitur error message when trying to use Self in odd way #31168
Labels
Comments
sfackler
added
A-diagnostics
Area: Messages for errors, warnings, and lints
A-resolve
Area: Name resolution
labels
Jan 24, 2016
This might be related to #28556 |
Closing as duplicate of #26264 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
This doesn't seem that unreasonable.
However, it doesn't work. That's not so bad, but the error message is very unintuitive.
I can see FooBar::Foo, it's right there. Telling me I can't use Self like this would be fine, but as it stands it's ludicrous.
The text was updated successfully, but these errors were encountered: