mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-02 10:18:25 +00:00
14 lines
263 B
Plaintext
14 lines
263 B
Plaintext
error: missing `struct` for struct definition
|
|
--> $DIR/pub-ident-struct-4.rs:4:1
|
|
|
|
|
LL | pub T(String);
|
|
| ^^^^^
|
|
|
|
|
help: add `struct` here to parse `T` as a struct
|
|
|
|
|
LL | pub struct T(String);
|
|
| ++++++
|
|
|
|
error: aborting due to 1 previous error
|
|
|