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-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
| help: remove this comma
2018-05-29 13:15:59 -05:00
error: aborting due to previous error