rust/tests/ui/unknown-unstable-lints/warn-unknown-unstable-lint-command-line.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

7 lines
196 B
Rust
Raw Normal View History

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