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

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

7 lines
200 B
Rust
Raw Normal View History

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