]> git.proxmox.com Git - rustc.git/blob - tests/ui/suggestions/struct-initializer-comma.stderr
New upstream version 1.68.2+dfsg1
[rustc.git] / tests / ui / suggestions / struct-initializer-comma.stderr
1 error: expected one of `,`, `.`, `?`, `}`, or an operator, found `second`
2 --> $DIR/struct-initializer-comma.rs:12:9
3 |
4 LL | let _ = Foo {
5 | --- while parsing this struct
6 LL |
7 LL | first: true
8 | -
9 | |
10 | expected one of `,`, `.`, `?`, `}`, or an operator
11 | help: try adding a comma: `,`
12 LL | second: 25
13 | ^^^^^^ unexpected token
14
15 error[E0063]: missing field `second` in initializer of `Foo`
16 --> $DIR/struct-initializer-comma.rs:9:13
17 |
18 LL | let _ = Foo {
19 | ^^^ missing `second`
20
21 error: aborting due to 2 previous errors
22
23 For more information about this error, try `rustc --explain E0063`.