We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello, I have the same problem as #2498 even if I use a version where it is supposed to be fixed:
> cargo clean > cargo clippy -V 0.0.200 > cargo +nightly clippy Checking variables v0.1.0 (file:///----) warning: equality checks against true are unnecessary --> src/main.rs:5:6 | 5 | if test == true { println!("true") } | ^^^^^^^^^^^^ help: try simplifying it as shown: `test` | = note: #[warn(bool_comparison)] on by default = help: for further information visit https://rust-lang-nursery.github.io/rust-clippy/v0.0.200/index.html#bool_comparison Finished dev [unoptimized + debuginfo] target(s) in 0.23s > cargo +nightly clippy Finished dev [unoptimized + debuginfo] target(s) in 0.03s
Thanks for any help.
The text was updated successfully, but these errors were encountered:
Thanks for the report! This is currently tracked here: #2604, so I'm going to close this as a duplicate.
You should be able to run touch main.rs; cargo clippy as a workaround.
touch main.rs; cargo clippy
Sorry, something went wrong.
No branches or pull requests
Hello,
I have the same problem as #2498 even if I use a version where it is supposed to be fixed:
Thanks for any help.
The text was updated successfully, but these errors were encountered: