]> git.lizzy.rs Git - rust.git/blob - tests/ui/typeck/do-not-suggest-adding-missing-zero-to-floating-point-number.stderr
Auto merge of #107197 - aliemjay:patch-2, r=jackh726
[rust.git] / tests / ui / typeck / do-not-suggest-adding-missing-zero-to-floating-point-number.stderr
1 error: expected identifier, found reserved identifier `_`
2   --> $DIR/do-not-suggest-adding-missing-zero-to-floating-point-number.rs:16:8
3    |
4 LL |     42._;
5    |        ^ expected identifier, found reserved identifier
6
7 error[E0610]: `i32` is a primitive type and therefore doesn't have fields
8   --> $DIR/do-not-suggest-adding-missing-zero-to-floating-point-number.rs:5:7
9    |
10 LL |     x.e10;
11    |       ^^^
12
13 error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields
14   --> $DIR/do-not-suggest-adding-missing-zero-to-floating-point-number.rs:8:7
15    |
16 LL |     y.e10;
17    |       ^^^
18
19 error[E0610]: `u32` is a primitive type and therefore doesn't have fields
20   --> $DIR/do-not-suggest-adding-missing-zero-to-floating-point-number.rs:10:10
21    |
22 LL |     2u32.e10;
23    |          ^^^
24
25 error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields
26   --> $DIR/do-not-suggest-adding-missing-zero-to-floating-point-number.rs:12:12
27    |
28 LL |     num!().e10;
29    |            ^^^
30
31 error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields
32   --> $DIR/do-not-suggest-adding-missing-zero-to-floating-point-number.rs:14:7
33    |
34 LL |     2.e10foo;
35    |       ^^^^^^
36
37 error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields
38   --> $DIR/do-not-suggest-adding-missing-zero-to-floating-point-number.rs:16:8
39    |
40 LL |     42._;
41    |        ^
42
43 error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields
44   --> $DIR/do-not-suggest-adding-missing-zero-to-floating-point-number.rs:20:8
45    |
46 LL |     42.a;
47    |        ^
48
49 error: aborting due to 8 previous errors
50
51 For more information about this error, try `rustc --explain E0610`.