| error: this file contains an un-closed delimiter |
| --> $DIR/parser-recovery-1.rs:16:55 |
| | |
| LL | trait Foo { |
| | - un-closed delimiter |
| LL | |
| LL | fn bar() { |
| | - this delimiter might not be properly closed... |
| ... |
| LL | } |
| | - ...as it matches this but it has different indentation |
| ... |
| LL | } |
| | ^ |
| |
| error: unexpected token: `;` |
| --> $DIR/parser-recovery-1.rs:13:15 |
| | |
| LL | let x = y.; |
| | ^ |
| |
| error[E0425]: cannot find function `foo` in this scope |
| --> $DIR/parser-recovery-1.rs:8:17 |
| | |
| LL | let x = foo(); |
| | ^^^ not found in this scope |
| |
| error[E0425]: cannot find value `y` in this scope |
| --> $DIR/parser-recovery-1.rs:13:13 |
| | |
| LL | let x = y.; |
| | ^ not found in this scope |
| |
| error[E0601]: `main` function not found in crate `parser_recovery_1` |
| --> $DIR/parser-recovery-1.rs:5:1 |
| | |
| LL | / trait Foo { |
| LL | | |
| LL | | fn bar() { |
| LL | | let x = foo(); |
| ... | |
| LL | | |
| LL | | } |
| | |______________________________________________________^ consider adding a `main` function to `$DIR/parser-recovery-1.rs` |
| |
| error: aborting due to 5 previous errors |
| |
| Some errors have detailed explanations: E0425, E0601. |
| For more information about an error, try `rustc --explain E0425`. |