about summary refs log tree commit diff
path: root/tests/ui/pub/pub-ident-struct-3.stderr
blob: 0a23ad51211b6a231d88f34499b861e13b440b0c (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:1
   |
LL | pub S();
   | ^^^^^
   |
help: add `struct` here to parse `S` as a struct
   |
LL | pub struct S();
   |     ++++++

error: aborting due to 1 previous error