blob: 525d09b8fc1c16df6b3029b1bc8550c19d8ac643 [file] [log] [blame]
error: missing `struct` for struct definition
--> $DIR/recovered-block.rs:13:8
|
LL | pub Foo { text }
| ^
|
help: add `struct` here to parse `Foo` as a public struct
|
LL | pub struct Foo { text }
| ^^^^^^
error: expected one of `(` or `<`, found `{`
--> $DIR/recovered-block.rs:19:9
|
LL | Foo { text: "".to_string() }
| ^ expected one of `(` or `<`
error: aborting due to 2 previous errors