rust/tests/ui/resolve/issue-54379.stderr

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

20 lines
537 B
Plaintext
Raw Normal View History

error: expected `}`, found `,`
2018-12-25 09:56:47 -06:00
--> $DIR/issue-54379.rs:9:22
|
2019-03-09 06:03:44 -06:00
LL | MyStruct { .., Some(_) } => {},
| --^
| | |
| | expected `}`
| `..` must be at the end and cannot have a trailing comma
error: expected `,`
--> $DIR/issue-54379.rs:9:28
|
2019-03-09 06:03:44 -06:00
LL | MyStruct { .., Some(_) } => {},
| -------- ^
| |
| while parsing the fields for this pattern
error: aborting due to 2 previous errors