1 // revisions: duplicate deduplicate
2 //[deduplicate] compile-flags: -Z deduplicate-diagnostics=yes
3 
4 #[derive(Unresolved)] //~ ERROR cannot find derive macro `Unresolved` in this scope
5                       //[duplicate]~| ERROR cannot find derive macro `Unresolved` in this scope
6 struct S;
7 
8 #[deny("literal")] //~ ERROR malformed lint attribute input
9                    //[duplicate]~| ERROR malformed lint attribute input
main()10 fn main() {}
11