mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 02:33:55 +00:00
12 lines
385 B
Rust
12 lines
385 B
Rust
//@ check-pass
|
|
//@ compile-flags:-D bogus -D dead_cod
|
|
|
|
//@ error-pattern:unknown lint: `bogus`
|
|
//@ error-pattern:requested on the command line with `-D bogus`
|
|
//@ error-pattern:`#[warn(unknown_lints)]` on by default
|
|
//@ 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() { }
|