mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 00:34:06 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
15 lines
335 B
Plaintext
15 lines
335 B
Plaintext
error: missing `struct` for struct definition
|
|
--> $DIR/track4.rs:LL:CC
|
|
|
|
|
LL | pub onion {
|
|
| ^
|
|
-Ztrack-diagnostics: created at compiler/rustc_parse/src/parser/item.rs:LL:CC
|
|
|
|
|
help: add `struct` here to parse `onion` as a public struct
|
|
|
|
|
LL | pub struct onion {
|
|
| ++++++
|
|
|
|
error: aborting due to 1 previous error
|
|
|