-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Enable deny(unused_crate_dependencies)
in all compiler/
crates.
#126248
Enable deny(unused_crate_dependencies)
in all compiler/
crates.
#126248
Conversation
And remove a couple of unused dependencies that this found.
Some changes occurred in exhaustiveness checking cc @Nadrieril These commits modify the If this was unintentional then you should revert the changes before this PR is merged. This PR changes Stable MIR cc @oli-obk, @celinval, @ouz-a Some changes occurred in diagnostic error codes Some changes occurred to MIR optimizations cc @rust-lang/wg-mir-opt Some changes occurred in compiler/rustc_sanitizers cc @rust-lang/project-exploit-mitigations, @rcvalle |
The false positives mentioned in the FIXME comments are annoying. I started a Zulip thread to ask about that. |
The job Click to see the possible cause of the failure (guessed by this bot)
|
This error is because |
On the one hand I do prefer the former but on the other hand I don't really care that much... |
I believe |
Heh yes I wrote the PR to remove libc on Windows but the idea/motivation was @ChrisDenton. |
☔ The latest upstream changes (presumably #126319) made this pull request unmergeable. Please resolve the merge conflicts. |
Not sure if this needs a compiler MCP, at the very least, might be worth a team ping. |
Based on the discussion in Zulip I think this lint isn't quite reliable enough to be used en masse like this. Which is a shame. I've filed #126368 for removing a couple more unused dependencies. |
And remove a couple of unused dependencies that this found.
r? @jackh726