rust/tests/ui/expr/if/attrs/bad-cfg.stderr

9 lines
212 B
Plaintext

error: removing an expression is not supported in this position
--> $DIR/bad-cfg.rs:4:13
|
LL | let _ = #[cfg(FALSE)] if true {};
| ^^^^^^^^^^^^^
error: aborting due to 1 previous error