blob: 63c88ef63f52fc7ce871cd284e12245889492540 (
plain)
1
2
3
4
5
6
7
8
9
10
|
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
|