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

8 lines
123 B
Rust

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