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

10 lines
227 B
Rust
Raw Normal View History

// check-pass
#![warn(unknown_lints)]
#![allow(test_unstable_lint)]
//~^ WARNING unknown lint: `test_unstable_lint`
//~| WARNING unknown lint: `test_unstable_lint`
//~| WARNING unknown lint: `test_unstable_lint`
fn main() {}