]> git.lizzy.rs Git - rust.git/blob - src/test/ui/proc-macro/cfg-eval-fail.rs
Merge commit '98e2b9f25b6db4b2680a3d388456d9f95cb28344' into clippyup
[rust.git] / src / test / 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     //~| ERROR removing an expression is not supported in this position
8     //~| ERROR removing an expression is not supported in this position
9 }