]> git.lizzy.rs Git - rust.git/blob - tests/ui/proc-macro/cfg-eval-fail.rs
Rollup merge of #106591 - Ezrashaw:attempted-integer-identifer, r=Estebank
[rust.git] / tests / ui / proc-macro / cfg-eval-fail.rs
1 #![feature(cfg_eval)]
2 #![feature(stmt_expr_attributes)]
3
4 fn main() {
5     let _ = #[cfg_eval] #[cfg(FALSE)] 0;
6     //~^ ERROR removing an expression is not supported in this position
7 }