2018-05-29 20:15:59 +02:00
|
|
|
error: expected identifier, found `,`
|
2020-07-02 14:32:12 +09:00
|
|
|
--> $DIR/struct-duplicate-comma.rs:11:14
|
2018-05-29 20:15:59 +02:00
|
|
|
|
|
2020-07-02 14:32:12 +09:00
|
|
|
LL | let _ = Foo {
|
|
|
|
| --- while parsing this struct
|
2018-05-29 20:15:59 +02:00
|
|
|
LL | a: 0,,
|
2024-07-06 03:07:46 +00:00
|
|
|
| ^ expected identifier
|
|
|
|
|
|
|
|
|
help: remove this comma
|
|
|
|
|
|
|
|
|
LL - a: 0,,
|
|
|
|
LL + a: 0,
|
|
|
|
|
|
2018-05-29 20:15:59 +02:00
|
|
|
|
2023-11-21 15:44:16 +00:00
|
|
|
error: aborting due to 1 previous error
|
2018-05-29 20:15:59 +02:00
|
|
|
|