1 2 3 4 5 6 7
// check-pass #![feature(rustc_attrs)] #[rustc_diagnostic_item = "foomp"] struct Foomp; fn main() {}