about summary refs log tree commit diff
path: root/tests/ui/lint/forbid-group-group-2.rs
blob: b3d3e30fb8d60cca3c1d1e3a5ec14ac6778bd960 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Check what happens when we forbid a bigger group but
// then deny a subset of that group.

#![forbid(warnings)]
#![deny(forbidden_lint_groups)]

#[allow(nonstandard_style)]
//~^ ERROR incompatible with previous
//~| WARNING previously accepted by the compiler
//~| ERROR incompatible with previous
//~| WARNING previously accepted by the compiler
//~| ERROR incompatible with previous
//~| WARNING previously accepted by the compiler
fn main() {}