2018-05-29 13:15:59 -05:00
|
|
|
error: expected identifier, found `,`
|
2018-05-29 14:44:55 -05:00
|
|
|
--> $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
|
|
|
|
|