rust/tests/ui/lint/issue-80988.rs

11 lines
179 B
Rust

// Regression test for #80988
//
//@ check-pass
#![forbid(warnings)]
#[deny(warnings)]
//~^ WARNING incompatible with previous forbid
//~| WARNING being phased out
fn main() {}