1 error: expected `}`, found `,`
2 --> $DIR/issue-49257.rs:10:19
4 LL | let Point { .., y, } = p;
8 | `..` must be at the end and cannot have a trailing comma
10 help: move the `..` to the end of the field list
12 LL - let Point { .., y, } = p;
13 LL + let Point { y, .. } = p;
16 error: expected `}`, found `,`
17 --> $DIR/issue-49257.rs:11:19
19 LL | let Point { .., y } = p;
23 | `..` must be at the end and cannot have a trailing comma
25 help: move the `..` to the end of the field list
27 LL - let Point { .., y } = p;
28 LL + let Point { y , .. } = p;
31 error: expected `}`, found `,`
32 --> $DIR/issue-49257.rs:12:19
34 LL | let Point { .., } = p;
38 | | help: remove this comma
39 | `..` must be at the end and cannot have a trailing comma
41 error: aborting due to 3 previous errors