@@ -2,21 +2,21 @@ error: integer type suffix should not be separated by an underscore
22 --> $DIR/literals.rs:12:15
33 |
44LL | let ok4 = 0xab_cd_i32;
5- | ^^^^^^^^^^^ help: remove the underscore: `0xab_cd_i32 `
5+ | ^^^^^^^^^^^ help: remove the underscore: `0xab_cdi32 `
66 |
77 = note: `-D clippy::separated-literal-suffix` implied by `-D warnings`
88
99error: integer type suffix should not be separated by an underscore
1010 --> $DIR/literals.rs:13:15
1111 |
1212LL | let ok5 = 0xAB_CD_u32;
13- | ^^^^^^^^^^^ help: remove the underscore: `0xAB_CD_u32 `
13+ | ^^^^^^^^^^^ help: remove the underscore: `0xAB_CDu32 `
1414
1515error: integer type suffix should not be separated by an underscore
1616 --> $DIR/literals.rs:14:15
1717 |
1818LL | let ok5 = 0xAB_CD_isize;
19- | ^^^^^^^^^^^^^ help: remove the underscore: `0xAB_CD_isize `
19+ | ^^^^^^^^^^^^^ help: remove the underscore: `0xAB_CDisize `
2020
2121error: inconsistent casing in hexadecimal literal
2222 --> $DIR/literals.rs:15:17
@@ -30,7 +30,7 @@ error: integer type suffix should not be separated by an underscore
3030 --> $DIR/literals.rs:16:17
3131 |
3232LL | let fail2 = 0xabCD_u32;
33- | ^^^^^^^^^^ help: remove the underscore: `0xabCD_u32 `
33+ | ^^^^^^^^^^ help: remove the underscore: `0xabCDu32 `
3434
3535error: inconsistent casing in hexadecimal literal
3636 --> $DIR/literals.rs:16:17
@@ -42,7 +42,7 @@ error: integer type suffix should not be separated by an underscore
4242 --> $DIR/literals.rs:17:17
4343 |
4444LL | let fail2 = 0xabCD_isize;
45- | ^^^^^^^^^^^^ help: remove the underscore: `0xabCD_isize `
45+ | ^^^^^^^^^^^^ help: remove the underscore: `0xabCDisize `
4646
4747error: inconsistent casing in hexadecimal literal
4848 --> $DIR/literals.rs:17:17
@@ -78,7 +78,7 @@ error: integer type suffix should not be separated by an underscore
7878 --> $DIR/literals.rs:21:16
7979 |
8080LL | let ok10 = 0_i64;
81- | ^^^^^ help: remove the underscore: `0_i64 `
81+ | ^^^^^ help: remove the underscore: `0i64 `
8282
8383error: this is a decimal constant
8484 --> $DIR/literals.rs:22:17
@@ -99,7 +99,7 @@ error: integer type suffix should not be separated by an underscore
9999 --> $DIR/literals.rs:31:16
100100 |
101101LL | let ok17 = 0x123_4567_8901_usize;
102- | ^^^^^^^^^^^^^^^^^^^^^ help: remove the underscore: `0x123_4567_8901_usize `
102+ | ^^^^^^^^^^^^^^^^^^^^^ help: remove the underscore: `0x123_4567_8901usize `
103103
104104error: digits grouped inconsistently by underscores
105105 --> $DIR/literals.rs:34:18
0 commit comments