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-3.rs:1:4
|
2017-11-21 10:03:02 -06:00
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | pub S();
|
2022-10-06 11:35:53 -05:00
|
|
|
| ^
|
|
|
|
|
|
|
|
|
help: add `struct` here to parse `S` as a public struct
|
|
|
|
|
|
|
|
|
LL | pub struct S();
|
|
|
|
| ++++++
|
2017-11-21 10:03:02 -06:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|