summaryrefslogtreecommitdiffstats
path: root/src/test/ui/typeck/do-not-suggest-adding-missing-zero-to-floating-point-number.stderr
blob: 1ef1d4c28e47991519421807aeae5459391857a8 (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
error: expected identifier, found reserved identifier `_`
  --> $DIR/do-not-suggest-adding-missing-zero-to-floating-point-number.rs:16:8
   |
LL |     42._;
   |        ^ expected identifier, found reserved identifier

error[E0610]: `i32` is a primitive type and therefore doesn't have fields
  --> $DIR/do-not-suggest-adding-missing-zero-to-floating-point-number.rs:5:7
   |
LL |     x.e10;
   |       ^^^

error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields
  --> $DIR/do-not-suggest-adding-missing-zero-to-floating-point-number.rs:8:7
   |
LL |     y.e10;
   |       ^^^

error[E0610]: `u32` is a primitive type and therefore doesn't have fields
  --> $DIR/do-not-suggest-adding-missing-zero-to-floating-point-number.rs:10:10
   |
LL |     2u32.e10;
   |          ^^^

error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields
  --> $DIR/do-not-suggest-adding-missing-zero-to-floating-point-number.rs:12:12
   |
LL |     num!().e10;
   |            ^^^

error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields
  --> $DIR/do-not-suggest-adding-missing-zero-to-floating-point-number.rs:14:7
   |
LL |     2.e10foo;
   |       ^^^^^^

error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields
  --> $DIR/do-not-suggest-adding-missing-zero-to-floating-point-number.rs:16:8
   |
LL |     42._;
   |        ^

error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields
  --> $DIR/do-not-suggest-adding-missing-zero-to-floating-point-number.rs:20:8
   |
LL |     42.a;
   |        ^

error: aborting due to 8 previous errors

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