-
Notifications
You must be signed in to change notification settings - Fork 1.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
Fix Clippy subcommand name #5873
Conversation
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @yaahc (or someone else) soon. If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes. Please see the contribution instructions for more information. |
I wasn't able to verify that this works because clippy won't build for me (it says it can't find EDIT: Oops, didn't see the "basics" docs |
@camelid you probably need to run if that's not it lmk and I'll help you dig into the issue. |
@yaahc Thanks! I just ran it, though now I'm getting compiler errors. Is this because Clippy depends on rustc internals? Here's all the errors:
|
AFAIK yes. Whenever they change internal APIs we have to update them in clippy to match. I'm a little surprised though because I thought they just finished making it so clippy is tested on every rustc PR to prevent these kinds of breakages but I don't know the details of how the new subtree stuff works so I'm guessing its still possible for breakages to occur. |
@yaahc @camelid I'm afraid your solution won't work. If I'm not mistaken, the problem in the issue you linked is that you were using a wrong command-line which is not understood by cargo check, so it errors out. |
@yaahc Clippy has to pass tests in rustc, but the changes to fix clippy have to be synced back to Clippy. Currently the We should fix this issue $somehow, but we definitely need a test for this (after it is fixed). |
Ah, that's unfortunate. It just seems confusing that errors from running |
This produces Closing this, since I think, that this has to be fixed in |
Fixes #5640.
changelog: none