rust/tests/ui/pub/pub-ident-struct-4.fixed
2024-02-16 20:02:50 +00:00

7 lines
123 B
Rust

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