1 error: unexpected token: `;`
2 --> $DIR/parser-recovery-2.rs:10:15
7 error: mismatched closing delimiter: `)`
8 --> $DIR/parser-recovery-2.rs:6:5
11 | - unclosed delimiter
14 | ^ mismatched closing delimiter
16 error[E0425]: cannot find function `foo` in this scope
17 --> $DIR/parser-recovery-2.rs:5:17
20 | ^^^ not found in this scope
22 error[E0425]: cannot find value `y` in this scope
23 --> $DIR/parser-recovery-2.rs:10: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`.