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

error: aborting due to previous error