rust/tests/ui/pub/pub-ident-struct-4.fixed
2024-08-03 07:57:31 -04:00

7 lines
123 B
Rust

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