rust/tests/ui/expr/if/attrs/stmt-expr-gated.rs

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

7 lines
132 B
Rust
Raw Normal View History

fn main() {
let _ = #[deny(warnings)] if true { //~ ERROR attributes on expressions
} else if false {
} else {
};
}