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

13 lines
354 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
|
LL | let A { .., } = a(); //~ ERROR: expected `}`
| --^
| | |
| | expected `}`
| | help: remove this comma
| `..` must be at the end and cannot have a trailing comma
error: aborting due to previous error