rust/tests/ui/lint/lint-forbid-attr.rs

7 lines
101 B
Rust

#![forbid(deprecated)]
#[allow(deprecated)]
//~^ ERROR allow(deprecated) incompatible
fn main() {
}