mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-03 13:37:37 +00:00
14 lines
249 B
Plaintext
14 lines
249 B
Plaintext
![]() |
error: missing `enum` for enum definition
|
||
|
--> $DIR/missing-enum-issue-125446.rs:1:1
|
||
|
|
|
||
|
LL | Whoops {
|
||
|
| ^^^^^^
|
||
|
|
|
||
|
help: add `enum` here to parse `Whoops` as an enum
|
||
|
|
|
||
|
LL | enum Whoops {
|
||
|
| ++++
|
||
|
|
||
|
error: aborting due to 1 previous error
|
||
|
|