mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-31 22:41:50 +00:00
11 lines
435 B
Rust
11 lines
435 B
Rust
// 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() {}
|