]> git.lizzy.rs Git - rust.git/blob - tests/ui/needless_bitwise_bool.stderr
Auto merge of #8374 - Alexendoo:bless-revisions, r=camsteffen
[rust.git] / tests / ui / needless_bitwise_bool.stderr
1 error: use of bitwise operator instead of lazy operator between booleans
2   --> $DIR/needless_bitwise_bool.rs:24:8
3    |
4 LL |     if y & !x {
5    |        ^^^^^^ help: try: `y && !x`
6    |
7    = note: `-D clippy::needless-bitwise-bool` implied by `-D warnings`
8
9 error: aborting due to previous error
10