rust/tests/ui/feature-gates/feature-gate-test_unstable_...

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() {}