2021-05-20 12:30:31 +02:00
|
|
|
error: use of bitwise operator instead of lazy operator between booleans
|
2024-03-21 22:20:40 +01:00
|
|
|
--> tests/ui/needless_bitwise_bool.rs:23:8
|
2021-05-20 12:30:31 +02:00
|
|
|
|
|
|
|
|
LL | if y & !x {
|
|
|
|
| ^^^^^^ help: try: `y && !x`
|
|
|
|
|
|
|
|
|
= note: `-D clippy::needless-bitwise-bool` implied by `-D warnings`
|
2023-08-01 14:02:21 +02:00
|
|
|
= help: to override `-D warnings` add `#[allow(clippy::needless_bitwise_bool)]`
|
2021-05-20 12:30:31 +02:00
|
|
|
|
2023-11-21 17:08:42 +00:00
|
|
|
error: aborting due to 1 previous error
|
2021-05-20 12:30:31 +02:00
|
|
|
|