rust/tests/ui/tool-attributes/diagnostic_item3.rs

8 lines
104 B
Rust

//@ check-pass
#![feature(rustc_attrs)]
#[rustc_diagnostic_item = "foomp"]
struct Foomp;
fn main() {}