@@ -2,21 +2,21 @@ error: integer type suffix should not be separated by an underscore
2
2
--> $DIR/literals.rs:12:15
3
3
|
4
4
LL | let ok4 = 0xab_cd_i32;
5
- | ^^^^^^^^^^^ help: remove the underscore: `0xab_cd_i32 `
5
+ | ^^^^^^^^^^^ help: remove the underscore: `0xab_cdi32 `
6
6
|
7
7
= note: `-D clippy::separated-literal-suffix` implied by `-D warnings`
8
8
9
9
error: integer type suffix should not be separated by an underscore
10
10
--> $DIR/literals.rs:13:15
11
11
|
12
12
LL | let ok5 = 0xAB_CD_u32;
13
- | ^^^^^^^^^^^ help: remove the underscore: `0xAB_CD_u32 `
13
+ | ^^^^^^^^^^^ help: remove the underscore: `0xAB_CDu32 `
14
14
15
15
error: integer type suffix should not be separated by an underscore
16
16
--> $DIR/literals.rs:14:15
17
17
|
18
18
LL | let ok5 = 0xAB_CD_isize;
19
- | ^^^^^^^^^^^^^ help: remove the underscore: `0xAB_CD_isize `
19
+ | ^^^^^^^^^^^^^ help: remove the underscore: `0xAB_CDisize `
20
20
21
21
error: inconsistent casing in hexadecimal literal
22
22
--> $DIR/literals.rs:15:17
@@ -30,7 +30,7 @@ error: integer type suffix should not be separated by an underscore
30
30
--> $DIR/literals.rs:16:17
31
31
|
32
32
LL | let fail2 = 0xabCD_u32;
33
- | ^^^^^^^^^^ help: remove the underscore: `0xabCD_u32 `
33
+ | ^^^^^^^^^^ help: remove the underscore: `0xabCDu32 `
34
34
35
35
error: inconsistent casing in hexadecimal literal
36
36
--> $DIR/literals.rs:16:17
@@ -42,7 +42,7 @@ error: integer type suffix should not be separated by an underscore
42
42
--> $DIR/literals.rs:17:17
43
43
|
44
44
LL | let fail2 = 0xabCD_isize;
45
- | ^^^^^^^^^^^^ help: remove the underscore: `0xabCD_isize `
45
+ | ^^^^^^^^^^^^ help: remove the underscore: `0xabCDisize `
46
46
47
47
error: inconsistent casing in hexadecimal literal
48
48
--> $DIR/literals.rs:17:17
@@ -78,7 +78,7 @@ error: integer type suffix should not be separated by an underscore
78
78
--> $DIR/literals.rs:21:16
79
79
|
80
80
LL | let ok10 = 0_i64;
81
- | ^^^^^ help: remove the underscore: `0_i64 `
81
+ | ^^^^^ help: remove the underscore: `0i64 `
82
82
83
83
error: this is a decimal constant
84
84
--> $DIR/literals.rs:22:17
@@ -99,7 +99,7 @@ error: integer type suffix should not be separated by an underscore
99
99
--> $DIR/literals.rs:31:16
100
100
|
101
101
LL | let ok17 = 0x123_4567_8901_usize;
102
- | ^^^^^^^^^^^^^^^^^^^^^ help: remove the underscore: `0x123_4567_8901_usize `
102
+ | ^^^^^^^^^^^^^^^^^^^^^ help: remove the underscore: `0x123_4567_8901usize `
103
103
104
104
error: digits grouped inconsistently by underscores
105
105
--> $DIR/literals.rs:34:18
0 commit comments