rust/tests/ui/parser/issues/issue-10392-2.stderr

13 lines
330 B
Plaintext
Raw Normal View History

2018-10-20 15:36:17 -05:00
error: expected `}`, found `,`
2020-07-02 00:32:12 -05:00
--> $DIR/issue-10392-2.rs:8:15
2018-10-20 15:36:17 -05:00
|
2019-03-09 06:03:44 -06:00
LL | let A { .., } = a();
2018-10-20 15:36:17 -05:00
| --^
| | |
| | expected `}`
| | help: remove this comma
| `..` must be at the end and cannot have a trailing comma
error: aborting due to previous error