mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 07:44:10 +00:00
17 lines
445 B
Plaintext
17 lines
445 B
Plaintext
error: expected type, found `{`
|
|
--> $DIR/recover-enum2.rs:6:18
|
|
|
|
|
LL | Var3 {
|
|
| ---- while parsing this struct
|
|
LL | abc: {},
|
|
| ^ expected type
|
|
|
|
error: expected one of `!`, `(`, `)`, `+`, `,`, `::`, or `<`, found `{`
|
|
--> $DIR/recover-enum2.rs:25:22
|
|
|
|
|
LL | Nope(i32 {})
|
|
| ^ expected one of 7 possible tokens
|
|
|
|
error: aborting due to 2 previous errors
|
|
|