rust/tests/ui/feature-gates/feature-gate-test_unstable_lint.rs

10 lines
274 B
Rust
Raw Normal View History

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