2019-01-27 23:04:50 -06:00
|
|
|
error: unexpected token: `;`
|
2020-01-08 12:25:42 -06:00
|
|
|
--> $DIR/parser-recovery-2.rs:10:15
|
2019-01-27 23:04:50 -06:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | let x = y.;
|
2019-01-27 23:04:50 -06:00
|
|
|
| ^
|
|
|
|
|
2020-01-03 07:40:15 -06:00
|
|
|
error: mismatched closing delimiter: `)`
|
2020-01-08 12:25:42 -06:00
|
|
|
--> $DIR/parser-recovery-2.rs:6:5
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | fn bar() {
|
2020-01-03 07:40:15 -06:00
|
|
|
| - unclosed delimiter
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | let x = foo();
|
|
|
|
LL | )
|
2020-01-03 07:40:15 -06:00
|
|
|
| ^ mismatched closing delimiter
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error[E0425]: cannot find function `foo` in this scope
|
2020-01-08 12:25:42 -06:00
|
|
|
--> $DIR/parser-recovery-2.rs:5:17
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06: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
|
2020-01-08 12:25:42 -06:00
|
|
|
--> $DIR/parser-recovery-2.rs:10:13
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | let x = y.;
|
2018-08-08 07:28:26 -05:00
|
|
|
| ^ not found in this scope
|
|
|
|
|
|
|
|
error: aborting due to 4 previous errors
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0425`.
|