-
Notifications
You must be signed in to change notification settings - Fork 13.7k
resolve: Do not finalize shadowed bindings #145113
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
base: master
Are you sure you want to change the base?
Conversation
This comment has been minimized.
This comment has been minimized.
Looks like this triggers a new unused warning in the stdlib? Is this intentional? We probably should crater this if so. @bors2 try |
Reminder, once the PR becomes ready for a review, use |
resolve: Do not finalize shadowed bindings
Yes, some new unused items can be detected now. |
@craterbot check |
👌 Experiment ℹ️ Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more |
🚧 Experiment ℹ️ Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more |
🎉 Experiment
|
5feb92e
to
a4b67f7
Compare
A few new unused import lints, as expected. |
This comment has been minimized.
This comment has been minimized.
a4b67f7
to
f035746
Compare
Some changes occurred in src/tools/clippy cc @rust-lang/clippy Some changes occurred in src/tools/rustfmt cc @rust-lang/rustfmt |
This comment has been minimized.
This comment has been minimized.
f035746
to
c601d68
Compare
rust-analyzer is developed in its own repository. If possible, consider making this change to rust-lang/rust-analyzer instead. cc @rust-lang/rust-analyzer |
I have no idea how to build rust-analyzer to reproduce those errors, |
This comment has been minimized.
This comment has been minimized.
c601d68
to
712cc8f
Compare
This comment has been minimized.
This comment has been minimized.
|
712cc8f
to
5380fe6
Compare
This comment was marked as resolved.
This comment was marked as resolved.
I.e. do not mark them as used, or non-speculative loaded, or similar. Previously they were sometimes finalized during early resolution, causing issues like rust-lang#144793 (comment).
5380fe6
to
581051e
Compare
I.e. do not mark them as used, or non-speculatively loaded, or similar.
Previously they were sometimes finalized during early resolution, causing issues like #144793 (comment).