rust/tests/ui/lint/lint-unknown-lint-cmdline-deny.rs

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

10 lines
359 B
Rust
Raw Normal View History

//@ compile-flags:-D unknown-lints -D bogus -D dead_cod
//@ error-pattern:unknown lint: `bogus`
//@ error-pattern:requested on the command line with `-D bogus`
//@ error-pattern:requested on the command line with `-D dead_cod`
//@ error-pattern:requested on the command line with `-D unknown-lints`
//@ error-pattern:did you mean: `dead_code`
fn main() { }