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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
335 B
Plaintext
Raw Normal View History

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