rust/tests/ui/pub/pub-ident-struct-4.rs
Michael Goulet ac56007ea7 Revert "Rollup merge of #125572 - mu001999-contrib:dead/enhance, r=pnkfelix"
This reverts commit 13314df21b0bb0cdd02c6760581d1b9f1052fa7e, reversing
changes made to 6e534c73c35f569492ed5fb5f349075d58ed8b7e.
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() {}