-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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
[1.38] Regression: missing unused import warning #81368
Comments
@rustbot modify labels: +regression-untriaged |
This is old, so I-prioritize is likely not relevant. Will this work? @rustbot modify labels: -I-prioritize |
I believe this is working as intended. |
@ehuss Thanks for the explanation. I didn't consider that the prelude |
Code
I tried this code:
I expected to see this happen: The code compiles with a warning about the import being unused.
Instead, this happened: The code compiles with no warnings.
Version it worked on
It most recently worked on: Rust 1.37
Version with regression
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: