mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
27 lines
972 B
Rust
27 lines
972 B
Rust
// 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
|
|
//~| 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
|
|
//~| 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() {}
|