rust/src/test/ui/struct-duplicate-comma.stderr

14 lines
345 B
Plaintext
Raw Normal View History

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