rust/tests/ui/lint-group-forbid-always-trumps-cli.rs

7 lines
105 B
Rust
Raw Normal View History

//@ compile-flags: -F unused -A unused
fn main() {
let x = 1;
//~^ ERROR unused variable: `x`
}