rust/tests/ui/unknown-unstable-lints/warn-unknown-unstable-lint-command-line.rs
2024-02-16 20:02:50 +00:00

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