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 `}`
18 | | | help: `}` may belong here
19 | | while parsing this struct
22 error: struct literals are not allowed here
23 --> $DIR/issue-62973.rs:6:16
25 LL | fn p() { match s { v, E { [) {) }
31 help: surround the struct literal with parentheses
33 LL | fn p() { match (s { v, E { [) {) }
38 error: expected one of `.`, `?`, `{`, or an operator, found `}`
39 --> $DIR/issue-62973.rs:8:2
41 LL | fn p() { match s { v, E { [) {) }
42 | ----- while parsing this match expression
45 | ^ expected one of `.`, `?`, `{`, or an operator
47 error: incorrect close delimiter: `)`
48 --> $DIR/issue-62973.rs:6:28
50 LL | fn p() { match s { v, E { [) {) }
51 | -^ incorrect close delimiter
55 error: incorrect close delimiter: `)`
56 --> $DIR/issue-62973.rs:6:31
58 LL | fn p() { match s { v, E { [) {) }
59 | -^ incorrect close delimiter
63 error: aborting due to 6 previous errors