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
I tried this code:
struct Test; impl Test {}
I expected to see this happen: Compiles with a few warnings (unused struct).
https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=ff15ab3e54dafb6bae44b9470d94d768
Instead, this happened:
name.rs:3:6: error: unknown reference for resolved name: ‘Test’ 3 | impl Test {} | ^~~~
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
I tried this code:
I expected to see this happen: Compiles with a few warnings (unused struct).
https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=ff15ab3e54dafb6bae44b9470d94d768
Instead, this happened:
Meta
The text was updated successfully, but these errors were encountered: