summaryrefslogtreecommitdiffstats
path: root/src/test/ui/tool-attributes/diagnostic_item3.rs
blob: c1a236ed1cc3275aada009c0ff3f156eabc241ff (plain)
1
2
3
4
5
6
7
// check-pass
#![feature(rustc_attrs)]

#[rustc_diagnostic_item = "foomp"]
struct Foomp;

fn main() {}