]> git.lizzy.rs Git - rust.git/blob - tests/ui/deduplicate-diagnostics.rs
Auto merge of #107618 - chriswailes:linker-arg, r=albertlarsan68
[rust.git] / tests / ui / deduplicate-diagnostics.rs
1 // revisions: duplicate deduplicate
2 //[deduplicate] compile-flags: -Z deduplicate-diagnostics=yes
3
4 #[derive(Unresolved)] //~ ERROR cannot find derive macro `Unresolved` in this scope
5                       //[duplicate]~| ERROR cannot find derive macro `Unresolved` in this scope
6 struct S;
7
8 #[deny("literal")] //~ ERROR malformed lint attribute input
9                    //[duplicate]~| ERROR malformed lint attribute input
10 fn main() {}