2019-12-29 14:53:35 -06:00
|
|
|
// revisions: duplicate deduplicate
|
2020-01-08 11:02:10 -06:00
|
|
|
//[deduplicate] compile-flags: -Z deduplicate-diagnostics=yes
|
2019-12-29 14:53:35 -06:00
|
|
|
|
|
|
|
#[derive(Unresolved)] //~ ERROR cannot find derive macro `Unresolved` in this scope
|
|
|
|
//[duplicate]~| ERROR cannot find derive macro `Unresolved` in this scope
|
|
|
|
struct S;
|
|
|
|
|
2020-01-08 14:16:57 -06:00
|
|
|
#[deny("literal")] //~ ERROR malformed lint attribute input
|
|
|
|
//[duplicate]~| ERROR malformed lint attribute input
|
2019-12-29 14:53:35 -06:00
|
|
|
fn main() {}
|