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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

7 lines
105 B
Rust
Raw Normal View History

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