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

8 lines
130 B
Rust

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