1 error: unexpected token: `;`
2 --> $DIR/parser-recovery-2.rs:12:15
7 error: incorrect close delimiter: `)`
8 --> $DIR/parser-recovery-2.rs:8:5
11 | - un-closed delimiter
14 | ^ incorrect close delimiter
16 error[E0425]: cannot find function `foo` in this scope
17 --> $DIR/parser-recovery-2.rs:7:17
20 | ^^^ not found in this scope
22 error[E0425]: cannot find value `y` in this scope
23 --> $DIR/parser-recovery-2.rs:12:13
26 | ^ not found in this scope
28 error: aborting due to 4 previous errors
30 For more information about this error, try `rustc --explain E0425`.