mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-04 20:54:13 +00:00
11 lines
296 B
Plaintext
11 lines
296 B
Plaintext
error: use of bitwise operator instead of lazy operator between booleans
|
|
--> $DIR/needless_bitwise_bool.rs:24:8
|
|
|
|
|
LL | if y & !x {
|
|
| ^^^^^^ help: try: `y && !x`
|
|
|
|
|
= note: `-D clippy::needless-bitwise-bool` implied by `-D warnings`
|
|
|
|
error: aborting due to previous error
|
|
|