1 error: expected type, found `{`
2 --> $DIR/recover-enum2.rs:8:18
4 LL | abc: {}, //~ ERROR: expected type, found `{`
7 error: expected one of `!`, `(`, `)`, `+`, `,`, `::`, or `<`, found `{`
8 --> $DIR/recover-enum2.rs:27:22
10 LL | Nope(i32 {}) //~ ERROR: found `{`
11 | ^ expected one of 7 possible tokens here
13 error: expected one of `!`, `&&`, `&`, `(`, `)`, `*`, `+`, `,`, `::`, `<`, `?`, `[`, `_`, `crate`, `dyn`, `extern`, `fn`, `for`, `impl`, `pub`, `unsafe`, `}`, or lifetime, found `{`
14 --> $DIR/recover-enum2.rs:27:22
16 LL | Nope(i32 {}) //~ ERROR: found `{`
17 | ^ expected one of 23 possible tokens here
19 error: expected expression, found reserved identifier `_`
20 --> $DIR/recover-enum2.rs:32:22
22 LL | let bad_syntax = _; //~ ERROR: expected expression, found reserved identifier `_`
23 | ^ expected expression
25 error: aborting due to 4 previous errors