summaryrefslogtreecommitdiffstats
path: root/tests/ui/pub/pub-ident-struct-3.stderr
blob: d08e5120570c84c40819da8f5a6dc37077a7a797 (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 1 previous error