rust-clippy/tests/ui/needless_bitwise_bool.stderr
2023-08-11 14:02:28 +00:00

10 lines
296 B
Text

error: use of bitwise operator instead of lazy operator between booleans
--> $DIR/needless_bitwise_bool.rs:22: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