summaryrefslogtreecommitdiffstats
path: root/tests/ui/track-diagnostics/track4.stderr
blob: 9ebf222ee342fe6f5607c182e9bb6055e3f88c37 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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 previous error