]> git.lizzy.rs Git - rust.git/blob - tests/ui/typeck/suggest-adding-missing-zero-to-floating-point-number.stderr
Merge commit '7f27e2e74ef957baa382dc05cf08df6368165c74' into clippyup
[rust.git] / tests / ui / typeck / suggest-adding-missing-zero-to-floating-point-number.stderr
1 error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields
2   --> $DIR/suggest-adding-missing-zero-to-floating-point-number.rs:4:7
3    |
4 LL |     2.e1;
5    |       ^^
6    |
7 help: if intended to be a floating point literal, consider adding a `0` after the period
8    |
9 LL |     2.0e1;
10    |       +
11
12 error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields
13   --> $DIR/suggest-adding-missing-zero-to-floating-point-number.rs:5:7
14    |
15 LL |     2.E1;
16    |       ^^
17    |
18 help: if intended to be a floating point literal, consider adding a `0` after the period
19    |
20 LL |     2.0E1;
21    |       +
22
23 error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields
24   --> $DIR/suggest-adding-missing-zero-to-floating-point-number.rs:6:7
25    |
26 LL |     2.f32;
27    |       ^^^
28    |
29 help: if intended to be a floating point literal, consider adding a `0` after the period
30    |
31 LL |     2.0f32;
32    |       +
33
34 error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields
35   --> $DIR/suggest-adding-missing-zero-to-floating-point-number.rs:7:7
36    |
37 LL |     2.f64;
38    |       ^^^
39    |
40 help: if intended to be a floating point literal, consider adding a `0` after the period
41    |
42 LL |     2.0f64;
43    |       +
44
45 error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields
46   --> $DIR/suggest-adding-missing-zero-to-floating-point-number.rs:8:7
47    |
48 LL |     2.e+12;
49    |       ^
50    |
51 help: if intended to be a floating point literal, consider adding a `0` after the period
52    |
53 LL |     2.0e+12;
54    |       +
55
56 error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields
57   --> $DIR/suggest-adding-missing-zero-to-floating-point-number.rs:9:7
58    |
59 LL |     2.e-12;
60    |       ^
61    |
62 help: if intended to be a floating point literal, consider adding a `0` after the period
63    |
64 LL |     2.0e-12;
65    |       +
66
67 error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields
68   --> $DIR/suggest-adding-missing-zero-to-floating-point-number.rs:10:7
69    |
70 LL |     2.e1f32;
71    |       ^^^^^
72    |
73 help: if intended to be a floating point literal, consider adding a `0` after the period
74    |
75 LL |     2.0e1f32;
76    |       +
77
78 error: aborting due to 7 previous errors
79
80 For more information about this error, try `rustc --explain E0610`.