14 lines
345 B
Plaintext
14 lines
345 B
Plaintext
|
|
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
|
||
|
|
|