summaryrefslogtreecommitdiffstats
path: root/tests/ui/cfg/cfg-stmt-recovery.stderr
blob: cb15e21fac698821d2bd88167d913859138d3eb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
error: removing an expression is not supported in this position
  --> $DIR/cfg-stmt-recovery.rs:9:13
   |
LL |     let _ = #[cfg(FALSE)] 0;
   |             ^^^^^^^^^^^^^

error: expected expression, found `;`
  --> $DIR/cfg-stmt-recovery.rs:9:28
   |
LL |     let _ = #[cfg(FALSE)] 0;
   |                            ^ expected expression

error: removing an expression is not supported in this position
  --> $DIR/cfg-stmt-recovery.rs:9:13
   |
LL |     let _ = #[cfg(FALSE)] 0;
   |             ^^^^^^^^^^^^^

error: aborting due to 3 previous errors