1 error: incorrect close delimiter: `)`
2 --> $DIR/parser-recovery-2.rs:18:5
4 LL | ) //~ ERROR incorrect close delimiter: `)`
7 note: unclosed delimiter
8 --> $DIR/parser-recovery-2.rs:16:14
13 error: unexpected token: `;`
14 --> $DIR/parser-recovery-2.rs:22:15
16 LL | let x = y.; //~ ERROR unexpected token
19 error[E0425]: cannot find function `foo` in this scope
20 --> $DIR/parser-recovery-2.rs:17:17
22 LL | let x = foo(); //~ ERROR cannot find function `foo` in this scope
23 | ^^^ not found in this scope
25 error[E0425]: cannot find value `y` in this scope
26 --> $DIR/parser-recovery-2.rs:22:13
28 LL | let x = y.; //~ ERROR unexpected token
29 | ^ not found in this scope
31 error: aborting due to 4 previous errors
33 For more information about this error, try `rustc --explain E0425`.