summaryrefslogtreecommitdiffstats
path: root/tests/ui/pub/pub-ident-struct-2.stderr
blob: 6969a376a5e76b85e260746f5bc3856ad292fa94 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
error: missing `struct` for struct definition
  --> $DIR/pub-ident-struct-2.rs:4:8
   |
LL |     pub bar();
   |        ^
   |
help: add `struct` here to parse `bar` as a public struct
   |
LL |     pub struct bar();
   |         ++++++

error: aborting due to previous error