rust/src/test/ui/parser/issue-10392-2.stderr

13 lines
330 B
Plaintext
Raw Normal View History

2018-10-20 15:36:17 -05:00
error: expected `}`, found `,`
--> $DIR/issue-10392-2.rs:6: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