rustc/tests/ui/pub/pub-ident-struct-4.fixed
2024-06-19 10:24:51 +02:00

7 lines
122 B
Plaintext

// run-rustfix
pub struct T(#[allow(dead_code)] String);
//~^ ERROR missing `struct` for struct definition
fn main() {}