summaryrefslogtreecommitdiffstats
path: root/tests/ui/deduplicate-diagnostics.rs
blob: 7d1c4f5f83823e40676aec82d1b5f90b65244457 (plain)
1
2
3
4
5
6
7
8
9
10
// revisions: duplicate deduplicate
//[deduplicate] compile-flags: -Z deduplicate-diagnostics=yes

#[derive(Unresolved)] //~ ERROR cannot find derive macro `Unresolved` in this scope
                      //[duplicate]~| ERROR cannot find derive macro `Unresolved` in this scope
struct S;

#[deny("literal")] //~ ERROR malformed lint attribute input
                   //[duplicate]~| ERROR malformed lint attribute input
fn main() {}