summaryrefslogtreecommitdiffstats
path: root/src/test/ui/expr/if/attrs/bad-cfg.stderr
blob: 8a2890886a15c9a9b8c951507b48fcddddce2af3 (plain)
1
2
3
4
5
6
7
8
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 previous error