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