mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 06:51:58 +00:00
15 lines
332 B
Rust
15 lines
332 B
Rust
|
// Regression test for #80988
|
||
|
//
|
||
|
// check-pass
|
||
|
|
||
|
#![forbid(warnings)]
|
||
|
|
||
|
#[deny(warnings)]
|
||
|
//~^ WARNING incompatible with previous forbid
|
||
|
//~| WARNING being phased out
|
||
|
//~| WARNING incompatible with previous forbid
|
||
|
//~| WARNING being phased out
|
||
|
//~| WARNING incompatible with previous forbid
|
||
|
//~| WARNING being phased out
|
||
|
fn main() {}
|