mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 16:54:01 +00:00
13 lines
247 B
Plaintext
13 lines
247 B
Plaintext
|
error: missing `struct` for struct definition
|
||
|
--> $DIR/pub-ident-struct.rs:11:4
|
||
|
|
|
||
|
11 | pub S {
|
||
|
| ^
|
||
|
help: add `struct` here to parse `S` as a public struct
|
||
|
|
|
||
|
11 | pub struct S {
|
||
|
| ^^^^^^
|
||
|
|
||
|
error: aborting due to previous error
|
||
|
|