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

7 lines
116 B
Rust

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