mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-31 21:16:44 +00:00
This demonstrates the current behavior of adding lint form the command line. generally the lint levels are ignored as the current implementation unconditionally emit errors for those lints.
4 lines
70 B
Rust
4 lines
70 B
Rust
// compile-flags:-A unknown-lints -D bogus -D dead_cod
|
|
|
|
fn main() { }
|