blob: ef2ff1d2f0efe0a56ed909f249c4e0dba25e3a74 (
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:5
|
LL | pub bar();
| ^^^^^^^
|
help: add `struct` here to parse `bar` as a struct
|
LL | pub struct bar();
| ++++++
error: aborting due to 1 previous error
|