2023-09-25 04:28:58 -05:00
|
|
|
error: bit mask could be simplified with a call to `trailing_zeros`
|
2024-02-17 06:16:29 -06:00
|
|
|
--> tests/ui-toml/verbose_bit_mask/verbose_bit_mask.rs:5:13
|
2023-09-25 04:28:58 -05:00
|
|
|
|
|
|
|
|
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)]`
|
|
|
|
|
2023-11-21 11:08:42 -06:00
|
|
|
error: aborting due to 1 previous error
|
2023-09-25 04:28:58 -05:00
|
|
|
|