]> git.proxmox.com Git - rustc.git/blame - src/test/ui/typeck/suggest-adding-missing-zero-to-floating-point-number.stderr
New upstream version 1.67.1+dfsg1
[rustc.git] / src / test / ui / typeck / suggest-adding-missing-zero-to-floating-point-number.stderr
CommitLineData
064997fb
FG
1error[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 |
4LL | 2.e1;
5 | ^^
6 |
f2b60f7d 7help: if intended to be a floating point literal, consider adding a `0` after the period
064997fb
FG
8 |
9LL | 2.0e1;
10 | +
11
12error[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 |
15LL | 2.E1;
16 | ^^
17 |
f2b60f7d 18help: if intended to be a floating point literal, consider adding a `0` after the period
064997fb
FG
19 |
20LL | 2.0E1;
21 | +
22
23error[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 |
26LL | 2.f32;
27 | ^^^
28 |
f2b60f7d 29help: if intended to be a floating point literal, consider adding a `0` after the period
064997fb
FG
30 |
31LL | 2.0f32;
32 | +
33
34error[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 |
37LL | 2.f64;
38 | ^^^
39 |
f2b60f7d 40help: if intended to be a floating point literal, consider adding a `0` after the period
064997fb
FG
41 |
42LL | 2.0f64;
43 | +
44
45error[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 |
48LL | 2.e+12;
49 | ^
50 |
f2b60f7d 51help: if intended to be a floating point literal, consider adding a `0` after the period
064997fb
FG
52 |
53LL | 2.0e+12;
54 | +
55
56error[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 |
59LL | 2.e-12;
60 | ^
61 |
f2b60f7d 62help: if intended to be a floating point literal, consider adding a `0` after the period
064997fb
FG
63 |
64LL | 2.0e-12;
65 | +
66
67error[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 |
70LL | 2.e1f32;
71 | ^^^^^
72 |
f2b60f7d 73help: if intended to be a floating point literal, consider adding a `0` after the period
064997fb
FG
74 |
75LL | 2.0e1f32;
76 | +
77
78error: aborting due to 7 previous errors
79
80For more information about this error, try `rustc --explain E0610`.