14 lines
277 B
Plaintext
14 lines
277 B
Plaintext
error: missing `struct` for struct definition
|
|
--> $DIR/pub-ident-struct-2.rs:4:8
|
|
|
|
|
LL | pub bar();
|
|
| ^
|
|
|
|
|
help: add `struct` here to parse `bar` as a public struct
|
|
|
|
|
LL | pub struct bar();
|
|
| ++++++
|
|
|
|
error: aborting due to previous error
|
|
|