]> git.lizzy.rs Git - rust.git/blob - src/test/ui/lint/forbid-group-group-2.rs
Rollup merge of #87180 - notriddle:notriddle/sidebar-keyboard-mobile, r=GuillaumeGomez
[rust.git] / src / test / 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 fn main() {}