2022-10-06 11:35:53 -05:00
|
|
|
error: missing `struct` for struct definition
|
2024-07-30 11:23:41 -05:00
|
|
|
--> $DIR/pub-ident-struct-4.rs:3:1
|
2022-10-06 11:35:53 -05:00
|
|
|
|
|
2024-07-30 11:29:20 -05:00
|
|
|
LL | pub T(#[allow(dead_code)] String);
|
2024-07-30 11:23:41 -05:00
|
|
|
| ^^^^^
|
2022-10-06 11:35:53 -05:00
|
|
|
|
|
2024-07-06 05:14:53 -05:00
|
|
|
help: add `struct` here to parse `T` as a struct
|
2022-10-06 11:35:53 -05:00
|
|
|
|
|
2024-07-30 11:29:20 -05:00
|
|
|
LL | pub struct T(#[allow(dead_code)] String);
|
2022-10-06 11:35:53 -05:00
|
|
|
| ++++++
|
|
|
|
|
2023-11-21 09:44:16 -06:00
|
|
|
error: aborting due to 1 previous error
|
2022-10-06 11:35:53 -05:00
|
|
|
|