rust/src/test/ui/parser/issue-10392-2.stderr
Vadim Petrochenkov fa72a81bea Update tests
2019-03-11 23:10:26 +03:00

13 lines
330 B
Plaintext

error: expected `}`, found `,`
--> $DIR/issue-10392-2.rs:6:15
|
LL | let A { .., } = a();
| --^
| | |
| | expected `}`
| | help: remove this comma
| `..` must be at the end and cannot have a trailing comma
error: aborting due to previous error