2018-10-20 20:36:17 +00:00
|
|
|
error: expected type, found `{`
|
2019-05-31 20:50:04 +00:00
|
|
|
--> $DIR/recover-enum2.rs:6:18
|
2018-10-20 20:36:17 +00:00
|
|
|
|
|
2022-09-26 14:13:38 +00:00
|
|
|
LL | Var3 {
|
|
|
|
| ---- while parsing this struct
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | abc: {},
|
2019-07-17 18:40:36 +00:00
|
|
|
| ^ expected type
|
2018-10-20 20:36:17 +00:00
|
|
|
|
|
|
|
error: expected one of `!`, `(`, `)`, `+`, `,`, `::`, or `<`, found `{`
|
2019-05-31 20:50:04 +00:00
|
|
|
--> $DIR/recover-enum2.rs:25:22
|
2018-10-20 20:36:17 +00:00
|
|
|
|
|
2023-11-06 23:19:14 +00:00
|
|
|
LL | enum Test4 {
|
|
|
|
| ----- while parsing this enum
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | Nope(i32 {})
|
2019-10-28 18:08:53 +00:00
|
|
|
| ^ expected one of 7 possible tokens
|
2018-10-20 20:36:17 +00:00
|
|
|
|
2023-11-06 23:24:42 +00:00
|
|
|
error: aborting due to 2 previous errors
|
2018-10-20 20:36:17 +00:00
|
|
|
|