rust/tests/ui/tool-attributes/auxiliary/p1.rs

4 lines
76 B
Rust

#![feature(rustc_attrs)]
#[rustc_diagnostic_item = "Foo"]
pub struct Foo {}