@@ -4,7 +4,7 @@ error: using decimal literal for bitwise operation
44LL | x & 99;
55 | ^^
66 |
7- = help: use binary (0b...) or hex (0x...) or octal (0o...) notation for better readability
7+ = help: use binary (0b...), hex (0x...), or octal (0o...) notation for better readability
88 = note: `-D clippy::decimal-bit-mask` implied by `-D warnings`
99 = help: to override `-D warnings` add `#[allow(clippy::decimal_bit_mask)]`
1010
@@ -14,111 +14,111 @@ error: using decimal literal for bitwise operation
1414LL | x | (/* comment */99);
1515 | ^^
1616 |
17- = help: use binary (0b...) or hex (0x...) or octal (0o...) notation for better readability
17+ = help: use binary (0b...), hex (0x...), or octal (0o...) notation for better readability
1818
1919error: using decimal literal for bitwise operation
2020 --> tests/ui/decimal_bit_mask.rs:18:10
2121 |
2222LL | x ^ (99);
2323 | ^^
2424 |
25- = help: use binary (0b...) or hex (0x...) or octal (0o...) notation for better readability
25+ = help: use binary (0b...), hex (0x...), or octal (0o...) notation for better readability
2626
2727error: using decimal literal for bitwise operation
2828 --> tests/ui/decimal_bit_mask.rs:19:10
2929 |
3030LL | x &= 99;
3131 | ^^
3232 |
33- = help: use binary (0b...) or hex (0x...) or octal (0o...) notation for better readability
33+ = help: use binary (0b...), hex (0x...), or octal (0o...) notation for better readability
3434
3535error: using decimal literal for bitwise operation
3636 --> tests/ui/decimal_bit_mask.rs:20:10
3737 |
3838LL | x |= 99;
3939 | ^^
4040 |
41- = help: use binary (0b...) or hex (0x...) or octal (0o...) notation for better readability
41+ = help: use binary (0b...), hex (0x...), or octal (0o...) notation for better readability
4242
4343error: using decimal literal for bitwise operation
4444 --> tests/ui/decimal_bit_mask.rs:21:11
4545 |
4646LL | x ^= (99);
4747 | ^^
4848 |
49- = help: use binary (0b...) or hex (0x...) or octal (0o...) notation for better readability
49+ = help: use binary (0b...), hex (0x...), or octal (0o...) notation for better readability
5050
5151error: using decimal literal for bitwise operation
5252 --> tests/ui/decimal_bit_mask.rs:24:14
5353 |
5454LL | 0b1010 & 99;
5555 | ^^
5656 |
57- = help: use binary (0b...) or hex (0x...) or octal (0o...) notation for better readability
57+ = help: use binary (0b...), hex (0x...), or octal (0o...) notation for better readability
5858
5959error: using decimal literal for bitwise operation
6060 --> tests/ui/decimal_bit_mask.rs:25:15
6161 |
6262LL | 0b1010 | (99);
6363 | ^^
6464 |
65- = help: use binary (0b...) or hex (0x...) or octal (0o...) notation for better readability
65+ = help: use binary (0b...), hex (0x...), or octal (0o...) notation for better readability
6666
6767error: using decimal literal for bitwise operation
6868 --> tests/ui/decimal_bit_mask.rs:26:28
6969 |
7070LL | 0b1010 ^ (/* comment */99);
7171 | ^^
7272 |
73- = help: use binary (0b...) or hex (0x...) or octal (0o...) notation for better readability
73+ = help: use binary (0b...), hex (0x...), or octal (0o...) notation for better readability
7474
7575error: using decimal literal for bitwise operation
7676 --> tests/ui/decimal_bit_mask.rs:27:5
7777 |
7878LL | 99 & 0b1010;
7979 | ^^
8080 |
81- = help: use binary (0b...) or hex (0x...) or octal (0o...) notation for better readability
81+ = help: use binary (0b...), hex (0x...), or octal (0o...) notation for better readability
8282
8383error: using decimal literal for bitwise operation
8484 --> tests/ui/decimal_bit_mask.rs:28:6
8585 |
8686LL | (99) | 0b1010;
8787 | ^^
8888 |
89- = help: use binary (0b...) or hex (0x...) or octal (0o...) notation for better readability
89+ = help: use binary (0b...), hex (0x...), or octal (0o...) notation for better readability
9090
9191error: using decimal literal for bitwise operation
9292 --> tests/ui/decimal_bit_mask.rs:29:19
9393 |
9494LL | (/* comment */99) ^ 0b1010;
9595 | ^^
9696 |
97- = help: use binary (0b...) or hex (0x...) or octal (0o...) notation for better readability
97+ = help: use binary (0b...), hex (0x...), or octal (0o...) notation for better readability
9898
9999error: using decimal literal for bitwise operation
100100 --> tests/ui/decimal_bit_mask.rs:30:11
101101 |
102102LL | 0xD | 99;
103103 | ^^
104104 |
105- = help: use binary (0b...) or hex (0x...) or octal (0o...) notation for better readability
105+ = help: use binary (0b...), hex (0x...), or octal (0o...) notation for better readability
106106
107107error: using decimal literal for bitwise operation
108108 --> tests/ui/decimal_bit_mask.rs:31:5
109109 |
110110LL | 88 & 99;
111111 | ^^
112112 |
113- = help: use binary (0b...) or hex (0x...) or octal (0o...) notation for better readability
113+ = help: use binary (0b...), hex (0x...), or octal (0o...) notation for better readability
114114
115115error: using decimal literal for bitwise operation
116116 --> tests/ui/decimal_bit_mask.rs:31:10
117117 |
118118LL | 88 & 99;
119119 | ^^
120120 |
121- = help: use binary (0b...) or hex (0x...) or octal (0o...) notation for better readability
121+ = help: use binary (0b...), hex (0x...), or octal (0o...) notation for better readability
122122
123123error: aborting due to 15 previous errors
124124
0 commit comments