mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-01 19:23:50 +00:00
15 lines
322 B
Plaintext
15 lines
322 B
Plaintext
error: missing `enum` for enum definition
|
|
--> $DIR/track4.rs:LL:CC
|
|
|
|
|
LL | pub onion {
|
|
| ^^^^^^^^^
|
|
-Ztrack-diagnostics: created at compiler/rustc_parse/src/parser/item.rs:LL:CC
|
|
|
|
|
help: add `enum` here to parse `onion` as an enum
|
|
|
|
|
LL | pub enum onion {
|
|
| ++++
|
|
|
|
error: aborting due to 1 previous error
|
|
|