]> git.proxmox.com Git - rustc.git/blob - src/test/ui/issues/issue-52496.stderr
New upstream version 1.41.1+dfsg1
[rustc.git] / src / test / ui / issues / issue-52496.stderr
1 error: float literals must have an integer part
2 --> $DIR/issue-52496.rs:4:24
3 |
4 LL | let _ = Foo { bar: .5, baz: 42 };
5 | ^^ help: must have an integer part: `0.5`
6
7 error: expected one of `,` or `}`, found `.`
8 --> $DIR/issue-52496.rs:8:22
9 |
10 LL | let _ = Foo { bar.into(), bat: -1, . };
11 | --- ^ expected one of `,` or `}`
12 | |
13 | while parsing this struct
14
15 error: expected identifier, found `.`
16 --> $DIR/issue-52496.rs:8:40
17 |
18 LL | let _ = Foo { bar.into(), bat: -1, . };
19 | --- ^ expected identifier
20 | |
21 | while parsing this struct
22
23 error[E0063]: missing field `bat` in initializer of `Foo`
24 --> $DIR/issue-52496.rs:4:13
25 |
26 LL | let _ = Foo { bar: .5, baz: 42 };
27 | ^^^ missing `bat`
28
29 error[E0063]: missing fields `bar`, `baz` in initializer of `Foo`
30 --> $DIR/issue-52496.rs:8:13
31 |
32 LL | let _ = Foo { bar.into(), bat: -1, . };
33 | ^^^ missing `bar`, `baz`
34
35 error: aborting due to 5 previous errors
36
37 For more information about this error, try `rustc --explain E0063`.