2019-12-29 23:53:35 +03:00
|
|
|
// revisions: duplicate deduplicate
|
2020-01-08 20:02:10 +03:00
|
|
|
//[deduplicate] compile-flags: -Z deduplicate-diagnostics=yes
|
2019-12-29 23:53:35 +03: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 23:16:57 +03:00
|
|
|
#[deny("literal")] //~ ERROR malformed lint attribute input
|
|
|
|
//[duplicate]~| ERROR malformed lint attribute input
|
2019-12-29 23:53:35 +03:00
|
|
|
fn main() {}
|