fork/rust
git clone https://git.julia.blue/fork/rust
4560ea788cb
1.39.0
1error: this file contains an un-closed delimiter 2 --> $DIR/parser-recovery-1.rs:16:55 3 | 4LL | trait Foo { 5 | - un-closed delimiter 6LL | 7LL | fn bar() { 8 | - this delimiter might not be properly closed... 9... 10LL | } 11 | - ...as it matches this but it has different indentation 12... 13LL | } 14 | ^ 15 16error: unexpected token: `;` 17 --> $DIR/parser-recovery-1.rs:13:15 18 | 19LL | let x = y.; 20 | ^ 21 22error[E0425]: cannot find function `foo` in this scope 23 --> $DIR/parser-recovery-1.rs:8:17 24 | 25LL | let x = foo(); 26 | ^^^ not found in this scope 27 28error[E0425]: cannot find value `y` in this scope 29 --> $DIR/parser-recovery-1.rs:13:13 30 | 31LL | let x = y.; 32 | ^ not found in this scope 33 34error[E0601]: `main` function not found in crate `parser_recovery_1` 35 --> $DIR/parser-recovery-1.rs:5:1 36 | 37LL | / trait Foo { 38LL | | 39LL | | fn bar() { 40LL | | let x = foo(); 41... | 42LL | | 43LL | | } 44 | |______________________________________________________^ consider adding a `main` function to `$DIR/parser-recovery-1.rs` 45 46error: aborting due to 5 previous errors 47 48Some errors have detailed explanations: E0425, E0601. 49For more information about an error, try `rustc --explain E0425`.