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

6 lines
110 B
Rust

//@ compile-flags: -F deprecated
#[allow(deprecated)] //~ ERROR allow(deprecated) incompatible
fn main() {
}