rust/tests/ui/lint-group-forbid-always-trumps-cli.rs
2024-02-16 20:02:50 +00:00

7 lines
105 B
Rust

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