mirror of
https://github.com/rust-lang/rust
synced 2024-11-05 20:45:15 +00:00
10 lines
437 B
Rust
10 lines
437 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() {}
|