2018-05-29 13:15:59 -05:00
|
|
|
error: expected identifier, found `,`
|
2020-07-02 00:32:12 -05:00
|
|
|
--> $DIR/struct-duplicate-comma.rs:11:14
|
2018-05-29 13:15:59 -05:00
|
|
|
|
|
2020-07-02 00:32:12 -05:00
|
|
|
LL | let _ = Foo {
|
|
|
|
| --- while parsing this struct
|
2018-05-29 13:15:59 -05:00
|
|
|
LL | a: 0,,
|
|
|
|
| ^
|
|
|
|
| |
|
|
|
|
| expected identifier
|
2018-05-30 06:06:05 -05:00
|
|
|
| help: remove this comma
|
2018-05-29 13:15:59 -05:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|