1 error: this file contains an un-closed delimiter
2 --> $DIR/parser-recovery-1.rs:24:55
4 LL | } //~ ERROR this file contains an un-closed delimiter
7 help: did you mean to close this delimiter?
8 --> $DIR/parser-recovery-1.rs:15:11
13 error: unexpected token: `;`
14 --> $DIR/parser-recovery-1.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-1.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-1.rs:22:13
28 LL | let x = y.; //~ ERROR unexpected token
29 | ^ not found in this scope
31 error[E0601]: `main` function not found in crate `parser_recovery_1`
33 = note: consider adding a `main` function to `$DIR/parser-recovery-1.rs`
35 error: aborting due to 5 previous errors
37 Some errors occurred: E0425, E0601.
38 For more information about an error, try `rustc --explain E0425`.