]> git.lizzy.rs Git - rust.git/blob - src/tools/clippy/tests/ui/mistyped_literal_suffix.stderr
Auto merge of #78553 - Nadrieril:fix-78549, r=varkor
[rust.git] / src / tools / clippy / tests / ui / mistyped_literal_suffix.stderr
1 error: mistyped literal suffix
2   --> $DIR/mistyped_literal_suffix.rs:11: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:12: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:13: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:14: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:17: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:18: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:21:18
41    |
42 LL |     let fail25 = 1E2_32;
43    |                  ^^^^^^ help: did you mean to write: `1E2_f32`
44
45 error: mistyped literal suffix
46   --> $DIR/mistyped_literal_suffix.rs:22:18
47    |
48 LL |     let fail26 = 43E7_64;
49    |                  ^^^^^^^ help: did you mean to write: `43E7_f64`
50
51 error: mistyped literal suffix
52   --> $DIR/mistyped_literal_suffix.rs:23:18
53    |
54 LL |     let fail27 = 243E17_32;
55    |                  ^^^^^^^^^ help: did you mean to write: `243E17_f32`
56
57 error: mistyped literal suffix
58   --> $DIR/mistyped_literal_suffix.rs:25:18
59    |
60 LL |     let fail28 = 241251235E723_64;
61    |                  ^^^^^^^^^^^^^^^^ help: did you mean to write: `241_251_235E723_f64`
62
63 error: mistyped literal suffix
64   --> $DIR/mistyped_literal_suffix.rs:28:13
65    |
66 LL |     let _ = 1.12345E1_32;
67    |             ^^^^^^^^^^^^ help: did you mean to write: `1.123_45E1_f32`
68
69 error: aborting due to 11 previous errors
70