rust/tests/ui/tool-attributes/diagnostic_item3.rs
2024-02-16 20:02:50 +00:00

8 lines
104 B
Rust

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