mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-06 12:18:33 +00:00
17 lines
564 B
Rust
17 lines
564 B
Rust
//@ compile-flags:-D unknown-lints -D bogus -D dead_cod
|
|
//@ dont-require-annotations: HELP
|
|
//@ dont-require-annotations: NOTE
|
|
|
|
fn main() { }
|
|
|
|
//~? ERROR unknown lint: `bogus`
|
|
//~? ERROR unknown lint: `dead_cod`
|
|
//~? ERROR unknown lint: `bogus`
|
|
//~? ERROR unknown lint: `dead_cod`
|
|
//~? ERROR unknown lint: `bogus`
|
|
//~? ERROR unknown lint: `dead_cod`
|
|
//~? NOTE requested on the command line with `-D bogus`
|
|
//~? NOTE requested on the command line with `-D dead_cod`
|
|
//~? NOTE requested on the command line with `-D unknown-lints`
|
|
//~? HELP did you mean: `dead_code`
|