2022-10-06 18:35:53 +02:00
|
|
|
error: missing `struct` for struct definition
|
2022-12-27 20:34:09 +01:00
|
|
|
--> $DIR/pub-ident-struct-3.rs:1:4
|
2017-11-21 08:03:02 -08:00
|
|
|
|
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | pub S();
|
2022-10-06 18:35:53 +02:00
|
|
|
| ^
|
|
|
|
|
|
|
|
|
help: add `struct` here to parse `S` as a public struct
|
|
|
|
|
|
|
|
|
LL | pub struct S();
|
|
|
|
| ++++++
|
2017-11-21 08:03:02 -08:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|