]>
Commit | Line | Data |
---|---|---|
064997fb FG |
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 | | | |
f2b60f7d | 7 | help: if intended to be a floating point literal, consider adding a `0` after the period |
064997fb FG |
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 | | | |
f2b60f7d | 18 | help: if intended to be a floating point literal, consider adding a `0` after the period |
064997fb FG |
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 | | | |
f2b60f7d | 29 | help: if intended to be a floating point literal, consider adding a `0` after the period |
064997fb FG |
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 | | | |
f2b60f7d | 40 | help: if intended to be a floating point literal, consider adding a `0` after the period |
064997fb FG |
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 | | | |
f2b60f7d | 51 | help: if intended to be a floating point literal, consider adding a `0` after the period |
064997fb FG |
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 | | | |
f2b60f7d | 62 | help: if intended to be a floating point literal, consider adding a `0` after the period |
064997fb FG |
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 | | | |
f2b60f7d | 73 | help: if intended to be a floating point literal, consider adding a `0` after the period |
064997fb FG |
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`. |