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