rust/tests/ui/unknown-unstable-lints/deny-unstable-lint-inline.rs

10 lines
221 B
Rust
Raw Normal View History

// check-fail
#![deny(unknown_lints)]
#![allow(test_unstable_lint)]
//~^ ERROR unknown lint: `test_unstable_lint`
//~| ERROR unknown lint: `test_unstable_lint`
//~| ERROR unknown lint: `test_unstable_lint`
fn main() {}