summaryrefslogtreecommitdiffstats
path: root/src/test/ui/track-diagnostics/track4.stderr
blob: c4668444c4bbb17abaecd316d58beff0ab16df18 (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/diagnostics.rs:LL:CC
   |
help: add `struct` here to parse `onion` as a public struct
   |
LL | pub struct onion {
   |     ++++++

error: aborting due to previous error