1 error: expected type, found `{`
2 --> $DIR/recover-enum2.rs:6:18
5 | ---- while parsing this struct
9 error: expected one of `!`, `(`, `)`, `+`, `,`, `::`, or `<`, found `{`
10 --> $DIR/recover-enum2.rs:25:22
13 | ^ expected one of 7 possible tokens
15 error: aborting due to 2 previous errors