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 code
impl Foo {} fn main() {}
generates the error
impl-bug.rs:1:6: 1:9 error: found module name used as a type: impl Foo::Foo (id=4) impl-bug.rs:1 impl Foo {} ^~~
but should instead give an error saying that Foo is not a known type. (This is the entire file, so no module named Foo is in scope.)
Foo
The text was updated successfully, but these errors were encountered:
Dupe of #8767
Sorry, something went wrong.
No branches or pull requests
The code
generates the error
but should instead give an error saying that
Foo
is not a known type. (This is the entire file, so no module namedFoo
is in scope.)The text was updated successfully, but these errors were encountered: