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 { [) {) }
28 help: surround the struct literal with parentheses
30 LL | fn p() { match (s { v, E { [) {) }
35 error: expected one of `.`, `?`, `{`, or an operator, found `}`
36 --> $DIR/issue-62973.rs:8:1
38 LL | fn p() { match s { v, E { [) {) }
39 | ----- while parsing this match expression
42 | ^ expected one of `.`, `?`, `{`, or an operator here
44 error: incorrect close delimiter: `)`
45 --> $DIR/issue-62973.rs:6:28
47 LL | fn p() { match s { v, E { [) {) }
48 | -^ incorrect close delimiter
52 error: incorrect close delimiter: `)`
53 --> $DIR/issue-62973.rs:6:31
55 LL | fn p() { match s { v, E { [) {) }
56 | -^ incorrect close delimiter
60 error: aborting due to 6 previous errors