rust/tests/ui/pub/pub-ident-struct-4.rs

8 lines
116 B
Rust

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