rust/src/test/ui/lint/lint-unknown-lint-cmdline.rs
2018-12-25 21:08:33 -07:00

10 lines
307 B
Rust

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