1 error: this file contains an un-closed delimiter
2 --> $DIR/parser-recovery-1.rs:15:55
5 | - un-closed delimiter
7 | - this delimiter might not be properly closed...
10 | - ...as it matches this but it has different indentation
12 LL | } //~ ERROR this file contains an un-closed delimiter
15 error: unexpected token: `;`
16 --> $DIR/parser-recovery-1.rs:12:15
21 error[E0425]: cannot find function `foo` in this scope
22 --> $DIR/parser-recovery-1.rs:7:17
25 | ^^^ not found in this scope
27 error[E0425]: cannot find value `y` in this scope
28 --> $DIR/parser-recovery-1.rs:12:13
31 | ^ not found in this scope
33 error[E0601]: `main` function not found in crate `parser_recovery_1`
35 = note: consider adding a `main` function to `$DIR/parser-recovery-1.rs`
37 error: aborting due to 5 previous errors
39 Some errors occurred: E0425, E0601.
40 For more information about an error, try `rustc --explain E0425`.