rust/tests/ui/parser/issues/issue-10392-2.stderr
2023-01-11 09:32:08 +00:00

13 lines
330 B
Plaintext

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