11error: using decimal literal for bitwise operation
2- --> tests/ui/decimal_bitwise_operands.rs:16 :9
2+ --> tests/ui/decimal_bitwise_operands.rs:15 :9
33 |
44LL | x & 99;
55 | ^^
@@ -9,135 +9,135 @@ LL | x & 99;
99 = help: to override `-D warnings` add `#[allow(clippy::decimal_bitwise_operands)]`
1010
1111error: using decimal literal for bitwise operation
12- --> tests/ui/decimal_bitwise_operands.rs:17 :23
12+ --> tests/ui/decimal_bitwise_operands.rs:16 :23
1313 |
1414LL | x | (/* comment */99);
1515 | ^^
1616 |
1717 = help: use binary (0b...), hex (0x...), or octal (0o...) notation for better readability
1818
1919error: using decimal literal for bitwise operation
20- --> tests/ui/decimal_bitwise_operands.rs:18 :10
20+ --> tests/ui/decimal_bitwise_operands.rs:17 :10
2121 |
2222LL | x ^ (99);
2323 | ^^
2424 |
2525 = help: use binary (0b...), hex (0x...), or octal (0o...) notation for better readability
2626
2727error: using decimal literal for bitwise operation
28- --> tests/ui/decimal_bitwise_operands.rs:19 :10
28+ --> tests/ui/decimal_bitwise_operands.rs:18 :10
2929 |
3030LL | x &= 99;
3131 | ^^
3232 |
3333 = help: use binary (0b...), hex (0x...), or octal (0o...) notation for better readability
3434
3535error: using decimal literal for bitwise operation
36- --> tests/ui/decimal_bitwise_operands.rs:20 :10
36+ --> tests/ui/decimal_bitwise_operands.rs:19 :10
3737 |
3838LL | x |= 99;
3939 | ^^
4040 |
4141 = help: use binary (0b...), hex (0x...), or octal (0o...) notation for better readability
4242
4343error: using decimal literal for bitwise operation
44- --> tests/ui/decimal_bitwise_operands.rs:21 :11
44+ --> tests/ui/decimal_bitwise_operands.rs:20 :11
4545 |
4646LL | x ^= (99);
4747 | ^^
4848 |
4949 = help: use binary (0b...), hex (0x...), or octal (0o...) notation for better readability
5050
5151error: using decimal literal for bitwise operation
52- --> tests/ui/decimal_bitwise_operands.rs:24 :14
52+ --> tests/ui/decimal_bitwise_operands.rs:23 :14
5353 |
5454LL | 0b1010 & 99;
5555 | ^^
5656 |
5757 = help: use binary (0b...), hex (0x...), or octal (0o...) notation for better readability
5858
5959error: using decimal literal for bitwise operation
60- --> tests/ui/decimal_bitwise_operands.rs:25 :15
60+ --> tests/ui/decimal_bitwise_operands.rs:24 :15
6161 |
6262LL | 0b1010 | (99);
6363 | ^^
6464 |
6565 = help: use binary (0b...), hex (0x...), or octal (0o...) notation for better readability
6666
6767error: using decimal literal for bitwise operation
68- --> tests/ui/decimal_bitwise_operands.rs:26 :28
68+ --> tests/ui/decimal_bitwise_operands.rs:25 :28
6969 |
7070LL | 0b1010 ^ (/* comment */99);
7171 | ^^
7272 |
7373 = help: use binary (0b...), hex (0x...), or octal (0o...) notation for better readability
7474
7575error: using decimal literal for bitwise operation
76- --> tests/ui/decimal_bitwise_operands.rs:27 :5
76+ --> tests/ui/decimal_bitwise_operands.rs:26 :5
7777 |
7878LL | 99 & 0b1010;
7979 | ^^
8080 |
8181 = help: use binary (0b...), hex (0x...), or octal (0o...) notation for better readability
8282
8383error: using decimal literal for bitwise operation
84- --> tests/ui/decimal_bitwise_operands.rs:28 :6
84+ --> tests/ui/decimal_bitwise_operands.rs:27 :6
8585 |
8686LL | (99) | 0b1010;
8787 | ^^
8888 |
8989 = help: use binary (0b...), hex (0x...), or octal (0o...) notation for better readability
9090
9191error: using decimal literal for bitwise operation
92- --> tests/ui/decimal_bitwise_operands.rs:29 :19
92+ --> tests/ui/decimal_bitwise_operands.rs:28 :19
9393 |
9494LL | (/* comment */99) ^ 0b1010;
9595 | ^^
9696 |
9797 = help: use binary (0b...), hex (0x...), or octal (0o...) notation for better readability
9898
9999error: using decimal literal for bitwise operation
100- --> tests/ui/decimal_bitwise_operands.rs:30 :11
100+ --> tests/ui/decimal_bitwise_operands.rs:29 :11
101101 |
102102LL | 0xD | 99;
103103 | ^^
104104 |
105105 = help: use binary (0b...), hex (0x...), or octal (0o...) notation for better readability
106106
107107error: using decimal literal for bitwise operation
108- --> tests/ui/decimal_bitwise_operands.rs:31 :5
108+ --> tests/ui/decimal_bitwise_operands.rs:30 :5
109109 |
110110LL | 88 & 99;
111111 | ^^
112112 |
113113 = help: use binary (0b...), hex (0x...), or octal (0o...) notation for better readability
114114
115115error: using decimal literal for bitwise operation
116- --> tests/ui/decimal_bitwise_operands.rs:31 :10
116+ --> tests/ui/decimal_bitwise_operands.rs:30 :10
117117 |
118118LL | 88 & 99;
119119 | ^^
120120 |
121121 = help: use binary (0b...), hex (0x...), or octal (0o...) notation for better readability
122122
123123error: using decimal literal for bitwise operation
124- --> tests/ui/decimal_bitwise_operands.rs:35 :15
124+ --> tests/ui/decimal_bitwise_operands.rs:34 :15
125125 |
126126LL | 37 & 38 & 39;
127127 | ^^
128128 |
129129 = help: use binary (0b...), hex (0x...), or octal (0o...) notation for better readability
130130
131131error: using decimal literal for bitwise operation
132- --> tests/ui/decimal_bitwise_operands.rs:35 :5
132+ --> tests/ui/decimal_bitwise_operands.rs:34 :5
133133 |
134134LL | 37 & 38 & 39;
135135 | ^^
136136 |
137137 = help: use binary (0b...), hex (0x...), or octal (0o...) notation for better readability
138138
139139error: using decimal literal for bitwise operation
140- --> tests/ui/decimal_bitwise_operands.rs:35 :10
140+ --> tests/ui/decimal_bitwise_operands.rs:34 :10
141141 |
142142LL | 37 & 38 & 39;
143143 | ^^
0 commit comments