rust/tests/ui/unknown-unstable-lints/warn-unknown-unstable-lint-inline.rs
2024-02-16 20:02:50 +00:00

8 lines
132 B
Rust

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