rust/tests/ui/feature-gates/feature-gate-test_unstable_lint.rs
2023-01-11 09:32:08 +00:00

10 lines
274 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`
//~| WARNING unknown lint: `test_unstable_lint`
//~| WARNING unknown lint: `test_unstable_lint`
fn main() {}