rust/tests/ui/structs/struct-duplicate-comma.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
336 B
Plaintext
Raw Normal View History

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