rust/tests/ui/unknown-unstable-lints/warn-unknown-unstable-lint-...

7 lines
200 B
Rust

//@ check-pass
//@ compile-flags: -Wunknown_lints -Atest_unstable_lint
//@ error-pattern: unknown lint: `test_unstable_lint`
//@ error-pattern: the `test_unstable_lint` lint is unstable
fn main() {}