rust/tests/ui/unknown-unstable-lints/warn-unknown-unstable-lint-command-line.rs
2023-01-11 09:32:08 +00:00

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