rust/tests/ui/expr/if/attrs/bad-cfg.rs
2025-04-03 21:41:58 +00:00

5 lines
120 B
Rust

#![feature(stmt_expr_attributes)]
fn main() {
let _ = #[cfg(false)] if true {}; //~ ERROR removing an expression
}