-
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
Clippy's CLI usage error screen shows cargo check
#5640
Comments
Thanks for the report! What command were you running that caused this error? |
I was testing to see if I could run clippy on a single file. Is there a way to do that so that it filters out all warnings etc. from other files? |
EDIT: you can allow/deny warnings like so: |
Sorry, perhaps I wasn't clear enough! I meant that I wanted it to work like If I run |
I don't know of an way to only show warnings of a single file while importing everything, except for allowing warnings in all other files via https://github.com/rust-lang/rust-clippy#allowingdenying-lints :/ |
Huh. Seems like a useful feature! |
Clippy's CLI usage error screen shows
cargo check
instead ofcargo clippy
:I would expect it to say:
Output of
cargo clippy -V
:The text was updated successfully, but these errors were encountered: