rust/tests/ui/proc-macro/cfg-eval-fail.rs

8 lines
184 B
Rust
Raw Normal View History

#![feature(cfg_eval)]
#![feature(stmt_expr_attributes)]
fn main() {
let _ = #[cfg_eval] #[cfg(FALSE)] 0;
//~^ ERROR removing an expression is not supported in this position
}