1 error: this file contains an unclosed delimiter
2 --> $DIR/issue-62973.rs:8:2
4 LL | fn p() { match s { v, E { [) {) }
5 | - - unclosed delimiter
12 error: this file contains an unclosed delimiter
13 --> $DIR/issue-62973.rs:8:2
15 LL | fn p() { match s { v, E { [) {) }
16 | - - unclosed delimiter
23 error: expected one of `,`, `:`, or `}`, found `{`
24 --> $DIR/issue-62973.rs:6:8
26 LL | fn p() { match s { v, E { [) {) }
27 | ^ - ^ expected one of `,`, `:`, or `}`
29 | | while parsing this struct
32 help: `}` may belong here
34 LL | fn p() { match s { v, E} { [) {) }
36 help: try naming a field
38 LL | fn p() { match s { v, E: E { [) {) }
41 error: struct literals are not allowed here
42 --> $DIR/issue-62973.rs:6:16
44 LL | fn p() { match s { v, E { [) {) }
50 help: surround the struct literal with parentheses
52 LL ~ fn p() { match (s { v, E { [) {) }
57 error: expected one of `.`, `?`, `{`, or an operator, found `}`
58 --> $DIR/issue-62973.rs:8:2
60 LL | fn p() { match s { v, E { [) {) }
61 | ----- while parsing this `match` expression
64 | ^ expected one of `.`, `?`, `{`, or an operator
66 error: mismatched closing delimiter: `)`
67 --> $DIR/issue-62973.rs:6:27
69 LL | fn p() { match s { v, E { [) {) }
70 | ^^ mismatched closing delimiter
74 error: mismatched closing delimiter: `)`
75 --> $DIR/issue-62973.rs:6:30
77 LL | fn p() { match s { v, E { [) {) }
78 | ^^ mismatched closing delimiter
82 error: aborting due to 7 previous errors