mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 06:51:58 +00:00
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
|
|
|