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

error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields
  --> $DIR/suggest-adding-missing-zero-to-floating-point-number.rs:5:7
   |
LL |     2.E1;
   |       ^^
   |
help: if intended to be a floating point literal, consider adding a `0` after the period
   |
LL |     2.0E1;
   |       +

error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields
  --> $DIR/suggest-adding-missing-zero-to-floating-point-number.rs:6:7
   |
LL |     2.f32;
   |       ^^^
   |
help: if intended to be a floating point literal, consider adding a `0` after the period
   |
LL |     2.0f32;
   |       +

error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields
  --> $DIR/suggest-adding-missing-zero-to-floating-point-number.rs:7:7
   |
LL |     2.f64;
   |       ^^^
   |
help: if intended to be a floating point literal, consider adding a `0` after the period
   |
LL |     2.0f64;
   |       +

error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields
  --> $DIR/suggest-adding-missing-zero-to-floating-point-number.rs:8:7
   |
LL |     2.e+12;
   |       ^
   |
help: if intended to be a floating point literal, consider adding a `0` after the period
   |
LL |     2.0e+12;
   |       +

error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields
  --> $DIR/suggest-adding-missing-zero-to-floating-point-number.rs:9:7
   |
LL |     2.e-12;
   |       ^
   |
help: if intended to be a floating point literal, consider adding a `0` after the period
   |
LL |     2.0e-12;
   |       +

error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields
  --> $DIR/suggest-adding-missing-zero-to-floating-point-number.rs:10:7
   |
LL |     2.e1f32;
   |       ^^^^^
   |
help: if intended to be a floating point literal, consider adding a `0` after the period
   |
LL |     2.0e1f32;
   |       +

error: aborting due to 7 previous errors

For more information about this error, try `rustc --explain E0610`.