2022-10-06 11:35:53 -05:00
|
|
|
error: missing `struct` for struct definition
|
2022-12-27 13:34:09 -06:00
|
|
|
--> $DIR/pub-ident-struct-2.rs:4:8
|
2019-04-19 13:04:41 -05:00
|
|
|
|
|
|
|
|
LL | pub bar();
|
2022-10-06 11:35:53 -05:00
|
|
|
| ^
|
|
|
|
|
|
|
|
|
help: add `struct` here to parse `bar` as a public struct
|
|
|
|
|
|
|
|
|
LL | pub struct bar();
|
|
|
|
| ++++++
|
2019-04-19 13:04:41 -05:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|