1 error: this file contains an un-closed delimiter
2 --> $DIR/issue-62973.rs:8:2
4 LL | fn p() { match s { v, E { [) {) }
5 | - - un-closed delimiter
12 error: expected one of `,` or `}`, found `{`
13 --> $DIR/issue-62973.rs:6:25
15 LL | fn p() { match s { v, E { [) {) }
16 | - ^ expected one of `,` or `}` here
18 | while parsing this struct
20 error: struct literals are not allowed here
21 --> $DIR/issue-62973.rs:6:16
23 LL | fn p() { match s { v, E { [) {) }
29 help: surround the struct literal with parentheses
31 LL | fn p() { match (s { v, E { [) {) }
36 error: expected one of `.`, `?`, `{`, or an operator, found `}`
37 --> $DIR/issue-62973.rs:8:1
39 LL | fn p() { match s { v, E { [) {) }
40 | ----- while parsing this match expression
43 | ^ expected one of `.`, `?`, `{`, or an operator here
45 error: incorrect close delimiter: `)`
46 --> $DIR/issue-62973.rs:6:28
48 LL | fn p() { match s { v, E { [) {) }
49 | -^ incorrect close delimiter
53 error: incorrect close delimiter: `)`
54 --> $DIR/issue-62973.rs:6:31
56 LL | fn p() { match s { v, E { [) {) }
57 | -^ incorrect close delimiter
61 error: aborting due to 6 previous errors