rust/tests/ui/expr/if/attrs/stmt-expr-gated.rs
2023-01-11 09:32:08 +00:00

7 lines
132 B
Rust

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