11error: integer type suffix should be separated by an underscore
2- --> $DIR/unseparated_prefix_literals.rs:16 :18
2+ --> $DIR/unseparated_prefix_literals.rs:23 :18
33 |
44LL | let _fail1 = 1234i32;
55 | ^^^^^^^ help: add an underscore: `1234_i32`
66 |
77 = note: `-D clippy::unseparated-literal-suffix` implied by `-D warnings`
88
99error: integer type suffix should be separated by an underscore
10- --> $DIR/unseparated_prefix_literals.rs:17 :18
10+ --> $DIR/unseparated_prefix_literals.rs:24 :18
1111 |
1212LL | let _fail2 = 1234u32;
1313 | ^^^^^^^ help: add an underscore: `1234_u32`
1414
1515error: integer type suffix should be separated by an underscore
16- --> $DIR/unseparated_prefix_literals.rs:18 :18
16+ --> $DIR/unseparated_prefix_literals.rs:25 :18
1717 |
1818LL | let _fail3 = 1234isize;
1919 | ^^^^^^^^^ help: add an underscore: `1234_isize`
2020
2121error: integer type suffix should be separated by an underscore
22- --> $DIR/unseparated_prefix_literals.rs:19 :18
22+ --> $DIR/unseparated_prefix_literals.rs:26 :18
2323 |
2424LL | let _fail4 = 1234usize;
2525 | ^^^^^^^^^ help: add an underscore: `1234_usize`
2626
2727error: integer type suffix should be separated by an underscore
28- --> $DIR/unseparated_prefix_literals.rs:20 :18
28+ --> $DIR/unseparated_prefix_literals.rs:27 :18
2929 |
3030LL | let _fail5 = 0x123isize;
3131 | ^^^^^^^^^^ help: add an underscore: `0x123_isize`
3232
3333error: float type suffix should be separated by an underscore
34- --> $DIR/unseparated_prefix_literals.rs:24 :19
34+ --> $DIR/unseparated_prefix_literals.rs:31 :19
3535 |
3636LL | let _failf1 = 1.5f32;
3737 | ^^^^^^ help: add an underscore: `1.5_f32`
3838
3939error: float type suffix should be separated by an underscore
40- --> $DIR/unseparated_prefix_literals.rs:25 :19
40+ --> $DIR/unseparated_prefix_literals.rs:32 :19
4141 |
4242LL | let _failf2 = 1f32;
4343 | ^^^^ help: add an underscore: `1_f32`
4444
4545error: integer type suffix should be separated by an underscore
46- --> $DIR/unseparated_prefix_literals.rs:8 :9
46+ --> $DIR/unseparated_prefix_literals.rs:15 :9
4747 |
4848LL | 42usize
4949 | ^^^^^^^ help: add an underscore: `42_usize`
@@ -52,7 +52,7 @@ LL | let _ = lit_from_macro!();
5252 | ----------------- in this macro invocation
5353
5454error: integer type suffix should be separated by an underscore
55- --> $DIR/unseparated_prefix_literals.rs:33 :16
55+ --> $DIR/unseparated_prefix_literals.rs:40 :16
5656 |
5757LL | assert_eq!(4897u32, 32223);
5858 | ^^^^^^^ help: add an underscore: `4897_u32`
0 commit comments