]> git.lizzy.rs Git - rust.git/blob - tests/ui/mistyped_literal_suffix.stderr
Auto merge of #4478 - tsurai:master, r=flip1995
[rust.git] / tests / ui / mistyped_literal_suffix.stderr
1 error: mistyped literal suffix
2   --> $DIR/mistyped_literal_suffix.rs:6:18
3    |
4 LL |     let fail14 = 2_32;
5    |                  ^^^^ help: did you mean to write: `2_i32`
6    |
7    = note: `#[deny(clippy::mistyped_literal_suffixes)]` on by default
8
9 error: mistyped literal suffix
10   --> $DIR/mistyped_literal_suffix.rs:7:18
11    |
12 LL |     let fail15 = 4_64;
13    |                  ^^^^ help: did you mean to write: `4_i64`
14
15 error: mistyped literal suffix
16   --> $DIR/mistyped_literal_suffix.rs:8:18
17    |
18 LL |     let fail16 = 7_8; //
19    |                  ^^^ help: did you mean to write: `7_i8`
20
21 error: mistyped literal suffix
22   --> $DIR/mistyped_literal_suffix.rs:9:18
23    |
24 LL |     let fail17 = 23_16; //
25    |                  ^^^^^ help: did you mean to write: `23_i16`
26
27 error: mistyped literal suffix
28   --> $DIR/mistyped_literal_suffix.rs:12:18
29    |
30 LL |     let fail20 = 2__8; //
31    |                  ^^^^ help: did you mean to write: `2_i8`
32
33 error: mistyped literal suffix
34   --> $DIR/mistyped_literal_suffix.rs:13:18
35    |
36 LL |     let fail21 = 4___16; //
37    |                  ^^^^^^ help: did you mean to write: `4_i16`
38
39 error: mistyped literal suffix
40   --> $DIR/mistyped_literal_suffix.rs:15:18
41    |
42 LL |     let fail24 = 12.34_64;
43    |                  ^^^^^^^^ help: did you mean to write: `12.34_f64`
44
45 error: mistyped literal suffix
46   --> $DIR/mistyped_literal_suffix.rs:16:18
47    |
48 LL |     let fail25 = 1E2_32;
49    |                  ^^^^^^ help: did you mean to write: `1E2_f32`
50
51 error: mistyped literal suffix
52   --> $DIR/mistyped_literal_suffix.rs:17:18
53    |
54 LL |     let fail26 = 43E7_64;
55    |                  ^^^^^^^ help: did you mean to write: `43E7_f64`
56
57 error: mistyped literal suffix
58   --> $DIR/mistyped_literal_suffix.rs:18:18
59    |
60 LL |     let fail27 = 243E17_32;
61    |                  ^^^^^^^^^ help: did you mean to write: `243E17_f32`
62
63 error: mistyped literal suffix
64   --> $DIR/mistyped_literal_suffix.rs:20:18
65    |
66 LL |     let fail28 = 241251235E723_64;
67    |                  ^^^^^^^^^^^^^^^^ help: did you mean to write: `241_251_235E723_f64`
68
69 error: mistyped literal suffix
70   --> $DIR/mistyped_literal_suffix.rs:21:18
71    |
72 LL |     let fail29 = 42279.911_32;
73    |                  ^^^^^^^^^^^^ help: did you mean to write: `42_279.911_f32`
74
75 error: aborting due to 12 previous errors
76