rust/src/test/ui/parser/issue-10392-2.stderr
2018-10-21 14:06:28 +03:00

12 lines
355 B
Text

error: expected `}`, found `,`
--> $DIR/issue-10392-2.rs:18:15
|
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