| error: operator precedence might not be obvious |
| --> tests/ui/precedence_bits.rs:28:5 |
| | |
| LL | 0x0F00 & 0x00F0 << 4; |
| | ^^^^^^^^^^^^^^^^^^^^ help: consider parenthesizing your expression: `0x0F00 & (0x00F0 << 4)` |
| | |
| = note: `-D clippy::precedence-bits` implied by `-D warnings` |
| = help: to override `-D warnings` add `#[allow(clippy::precedence_bits)]` |
| |
| error: operator precedence might not be obvious |
| --> tests/ui/precedence_bits.rs:30:5 |
| | |
| LL | 0x0F00 & 0xF000 >> 4; |
| | ^^^^^^^^^^^^^^^^^^^^ help: consider parenthesizing your expression: `0x0F00 & (0xF000 >> 4)` |
| |
| error: operator precedence might not be obvious |
| --> tests/ui/precedence_bits.rs:32:5 |
| | |
| LL | 0x0F00 << 1 ^ 3; |
| | ^^^^^^^^^^^^^^^ help: consider parenthesizing your expression: `(0x0F00 << 1) ^ 3` |
| |
| error: operator precedence might not be obvious |
| --> tests/ui/precedence_bits.rs:34:5 |
| | |
| LL | 0x0F00 << 1 | 2; |
| | ^^^^^^^^^^^^^^^ help: consider parenthesizing your expression: `(0x0F00 << 1) | 2` |
| |
| error: aborting due to 4 previous errors |
| |