mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-02 04:57:35 +00:00
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
|
||
|
|