blob: 7377921b42ab17324b9e5f5de06447e66caa5887 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
error: bit mask could be simplified with a call to `trailing_zeros`
--> $DIR/verbose_bit_mask.rs:5:13
|
LL | let _ = v & 0b111111 == 0;
| ^^^^^^^^^^^^^^^^^ help: try: `v.trailing_zeros() >= 6`
|
= note: `-D clippy::verbose-bit-mask` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::verbose_bit_mask)]`
error: aborting due to previous error
|