rust/tests/ui/proc-macro/cfg-eval-fail.rs
2023-01-11 09:32:08 +00:00

8 lines
184 B
Rust

#![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
}