1error: missing `struct` for struct definition 2 --> $DIR/recovered-block.rs:11:8 3 | 4LL | pub Foo { text } 5 | ^ 6 | 7help: add `struct` here to parse `Foo` as a public struct 8 | 9LL | pub struct Foo { text } 10 | ++++++ 11 12error: expected one of `(` or `<`, found `{` 13 --> $DIR/recovered-block.rs:17:9 14 | 15LL | Foo { text: "".to_string() } 16 | ^ expected one of `(` or `<` 17 18error: aborting due to 2 previous errors 19 20