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
struct Foo; mod bar { impl Foo { fn f() { } } }
gives
baz.rs:4:10: 4:13 error: found module name used as a type: impl bar::Foo::Foo (id=7) baz.rs:4 impl Foo {
when the actual issue is that one should write impl super::Foo or similar.
impl super::Foo
rustc 0.11.0 (49bc17b 2014-07-07 17:16:34 +0000)
The text was updated successfully, but these errors were encountered:
Dup of #12729.
Sorry, something went wrong.
By which I mean #8767, but the error messages are slightly different. Dunno.
My mistake, old error message. Dup.
Auto merge of rust-lang#16144 - lnicola:sync-from-rust, r=lnicola
9a82f8c
internal: sync from downstream
No branches or pull requests
gives
when the actual issue is that one should write
impl super::Foo
or similar.rustc 0.11.0 (49bc17b 2014-07-07 17:16:34 +0000)
The text was updated successfully, but these errors were encountered: