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

7 lines
116 B
Rust

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