rust/tests/ui/track-diagnostics/track4.stderr

15 lines
333 B
Plaintext
Raw Normal View History

2022-10-24 16:19:48 -05:00
error: missing `struct` for struct definition
2022-10-26 06:41:57 -05:00
--> $DIR/track4.rs:LL:CC
2022-10-24 16:19:48 -05:00
|
LL | pub onion {
| ^
-Ztrack-diagnostics: created at compiler/rustc_parse/src/parser/item.rs:LL:CC
2022-10-24 16:19:48 -05:00
|
help: add `struct` here to parse `onion` as a public struct
|
LL | pub struct onion {
| ++++++
error: aborting due to previous error