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

14 lines
345 B
Plaintext
Raw Normal View History

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