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

4 lines
110 B
Rust

#[rustc_diagnostic_item = "foomp"] //~ ERROR compiler internal support for linting
struct Foomp;
fn main() {}