1 error: incorrect close delimiter: `)`
2 --> $DIR/parser-recovery-2.rs:18:5
6 LL | let x = foo(); //~ ERROR cannot find function `foo` in this scope
7 LL | ) //~ ERROR incorrect close delimiter: `)`
8 | ^ incorrect close delimiter
10 error: unexpected token: `;`
11 --> $DIR/parser-recovery-2.rs:22:15
13 LL | let x = y.; //~ ERROR unexpected token
16 error[E0425]: cannot find function `foo` in this scope
17 --> $DIR/parser-recovery-2.rs:17:17
19 LL | let x = foo(); //~ ERROR cannot find function `foo` in this scope
20 | ^^^ not found in this scope
22 error[E0425]: cannot find value `y` in this scope
23 --> $DIR/parser-recovery-2.rs:22:13
25 LL | let x = y.; //~ ERROR unexpected token
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`.