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
|
|
|
|
|
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
|
|
|
|
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | Nope(i32 {})
|
2018-10-20 20:36:17 +00:00
|
|
|
| ^ expected one of 7 possible tokens here
|
|
|
|
|
2019-03-02 05:47:06 +00:00
|
|
|
error: aborting due to 2 previous errors
|
2018-10-20 20:36:17 +00:00
|
|
|
|