1
1
error: 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
3
3
|
4
4
LL | let _fail1 = 1234i32;
5
5
| ^^^^^^^ help: add an underscore: `1234_i32`
6
6
|
7
7
= note: `-D clippy::unseparated-literal-suffix` implied by `-D warnings`
8
8
9
9
error: 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
11
11
|
12
12
LL | let _fail2 = 1234u32;
13
13
| ^^^^^^^ help: add an underscore: `1234_u32`
14
14
15
15
error: 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
17
17
|
18
18
LL | let _fail3 = 1234isize;
19
19
| ^^^^^^^^^ help: add an underscore: `1234_isize`
20
20
21
21
error: 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
23
23
|
24
24
LL | let _fail4 = 1234usize;
25
25
| ^^^^^^^^^ help: add an underscore: `1234_usize`
26
26
27
27
error: 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
29
29
|
30
30
LL | let _fail5 = 0x123isize;
31
31
| ^^^^^^^^^^ help: add an underscore: `0x123_isize`
32
32
33
33
error: 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
35
35
|
36
36
LL | let _failf1 = 1.5f32;
37
37
| ^^^^^^ help: add an underscore: `1.5_f32`
38
38
39
39
error: 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
41
41
|
42
42
LL | let _failf2 = 1f32;
43
43
| ^^^^ help: add an underscore: `1_f32`
44
44
45
45
error: 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
47
47
|
48
48
LL | 42usize
49
49
| ^^^^^^^ help: add an underscore: `42_usize`
@@ -52,7 +52,7 @@ LL | let _ = lit_from_macro!();
52
52
| ----------------- in this macro invocation
53
53
54
54
error: 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
56
56
|
57
57
LL | assert_eq!(4897u32, 32223);
58
58
| ^^^^^^^ help: add an underscore: `4897_u32`
0 commit comments