2 // emits good diagnostics for `..` pattern fragments not in the last position.
6 struct Point { x: u8, y: u8 }
9 let p = Point { x: 0, y: 0 };
10 let Point { .., y, } = p; //~ ERROR expected `}`, found `,`
11 let Point { .., y } = p; //~ ERROR expected `}`, found `,`
12 let Point { .., } = p; //~ ERROR expected `}`, found `,`