2018-08-08 07:28:26 -05:00
|
|
|
error: this file contains an un-closed delimiter
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/parser-recovery-1.rs:15:55
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2018-08-26 19:22:36 -05:00
|
|
|
LL | trait Foo {
|
|
|
|
| - un-closed delimiter
|
2018-09-04 10:09:49 -05:00
|
|
|
LL | fn bar() {
|
2018-09-05 09:33:29 -05:00
|
|
|
| - this delimiter might not be properly closed...
|
2018-09-04 10:09:49 -05:00
|
|
|
...
|
|
|
|
LL | }
|
|
|
|
| - ...as it matches this but it has different indentation
|
2018-08-26 19:22:36 -05:00
|
|
|
...
|
2018-08-08 07:28:26 -05:00
|
|
|
LL | } //~ ERROR this file contains an un-closed delimiter
|
|
|
|
| ^
|
|
|
|
|
|
|
|
error: unexpected token: `;`
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/parser-recovery-1.rs:12:15
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2018-08-26 19:22:36 -05:00
|
|
|
LL | let x = y.;
|
2018-08-08 07:28:26 -05:00
|
|
|
| ^
|
|
|
|
|
|
|
|
error[E0425]: cannot find function `foo` in this scope
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/parser-recovery-1.rs:7:17
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2018-08-26 19:22:36 -05:00
|
|
|
LL | let x = foo();
|
2018-08-08 07:28:26 -05:00
|
|
|
| ^^^ not found in this scope
|
|
|
|
|
|
|
|
error[E0425]: cannot find value `y` in this scope
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/parser-recovery-1.rs:12:13
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2018-08-26 19:22:36 -05:00
|
|
|
LL | let x = y.;
|
2018-08-08 07:28:26 -05:00
|
|
|
| ^ not found in this scope
|
|
|
|
|
|
|
|
error[E0601]: `main` function not found in crate `parser_recovery_1`
|
|
|
|
|
|
|
|
|
= note: consider adding a `main` function to `$DIR/parser-recovery-1.rs`
|
|
|
|
|
|
|
|
error: aborting due to 5 previous errors
|
|
|
|
|
|
|
|
Some errors occurred: E0425, E0601.
|
|
|
|
For more information about an error, try `rustc --explain E0425`.
|