about summary refs log tree commit diff
path: root/tests/ui/cfg/cfg-stmt-recovery.stderr
blob: e34da72afd934ef20e648731ebaab02c6818f7f2 (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