]> git.proxmox.com Git - rustc.git/blob - tests/ui/lint/forbid-group-group-2.rs
New upstream version 1.68.2+dfsg1
[rustc.git] / tests / ui / lint / forbid-group-group-2.rs
1 // Check what happens when we forbid a bigger group but
2 // then deny a subset of that group.
3
4 #![forbid(warnings)]
5 #![deny(forbidden_lint_groups)]
6
7 #[allow(nonstandard_style)]
8 //~^ ERROR incompatible with previous
9 //~| WARNING previously accepted by the compiler
10 //~| ERROR incompatible with previous
11 //~| WARNING previously accepted by the compiler
12 //~| ERROR incompatible with previous
13 //~| WARNING previously accepted by the compiler
14 //~| ERROR incompatible with previous
15 //~| WARNING previously accepted by the compiler
16 //~| ERROR incompatible with previous
17 //~| WARNING previously accepted by the compiler
18 //~| ERROR incompatible with previous
19 //~| WARNING previously accepted by the compiler
20 //~| ERROR incompatible with previous
21 //~| WARNING previously accepted by the compiler
22 //~| ERROR incompatible with previous
23 //~| WARNING previously accepted by the compiler
24 //~| ERROR incompatible with previous
25 //~| WARNING previously accepted by the compiler
26 fn main() {}