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