fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: bit mask could be simplified with a call to `trailing_zeros` 2 --> $DIR/trailing_zeros.rs:6:13 3 | 4LL | let _ = (x & 0b1111 == 0); 5 | ^^^^^^^^^^^^^^^^^ help: try: `x.trailing_zeros() >= 4` 6 | 7 = note: `-D clippy::verbose-bit-mask` implied by `-D warnings` 8 = help: to override `-D warnings` add `#[allow(clippy::verbose_bit_mask)]` 9 10error: bit mask could be simplified with a call to `trailing_zeros` 11 --> $DIR/trailing_zeros.rs:9:13 12 | 13LL | let _ = x & 0b1_1111 == 0; 14 | ^^^^^^^^^^^^^^^^^ help: try: `x.trailing_zeros() >= 5` 15 16error: aborting due to 2 previous errors 17