rust/tests/ui/parser/recover-enum2.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
445 B
Plaintext
Raw Normal View History

2018-10-20 15:36:17 -05:00
error: expected type, found `{`
2019-05-31 15:50:04 -05:00
--> $DIR/recover-enum2.rs:6:18
2018-10-20 15:36:17 -05:00
|
LL | Var3 {
| ---- while parsing this struct
2019-03-09 06:03:44 -06:00
LL | abc: {},
| ^ expected type
2018-10-20 15:36:17 -05:00
error: expected one of `!`, `(`, `)`, `+`, `,`, `::`, or `<`, found `{`
2019-05-31 15:50:04 -05:00
--> $DIR/recover-enum2.rs:25:22
2018-10-20 15:36:17 -05:00
|
2019-03-09 06:03:44 -06:00
LL | Nope(i32 {})
| ^ expected one of 7 possible tokens
2018-10-20 15:36:17 -05:00
error: aborting due to 2 previous errors
2018-10-20 15:36:17 -05:00