rust/tests/ui/feature-gates/feature-gate-test_unstable_lint.rs
2024-02-16 20:02:50 +00:00

8 lines
179 B
Rust

//@ check-pass
// `test_unstable_lint` is for testing and should never be stabilized.
#![allow(test_unstable_lint)]
//~^ WARNING unknown lint: `test_unstable_lint`
fn main() {}