1
Fork 0
rust/src/test/ui/structs/struct-duplicate-comma.stderr

13 lines
340 B
Text

error: expected identifier, found `,`
--> $DIR/struct-duplicate-comma.rs:10:14
|
LL | let bar = Foo {
| --- while parsing this struct
LL | a: 0,,
| ^
| |
| expected identifier
| help: remove this comma
error: aborting due to previous error