2020-01-03 08:40:15 -05:00
|
|
|
error: this file contains an unclosed delimiter
|
2020-01-08 21:25:42 +03:00
|
|
|
--> $DIR/parser-recovery-1.rs:13:54
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
2018-08-26 17:22:36 -07:00
|
|
|
LL | trait Foo {
|
2020-01-03 08:40:15 -05:00
|
|
|
| - unclosed delimiter
|
2018-09-04 08:09:49 -07:00
|
|
|
LL | fn bar() {
|
2018-09-05 07:33:29 -07:00
|
|
|
| - this delimiter might not be properly closed...
|
2018-09-04 08:09:49 -07:00
|
|
|
...
|
|
|
|
LL | }
|
|
|
|
| - ...as it matches this but it has different indentation
|
2018-08-26 17:22:36 -07:00
|
|
|
...
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | }
|
2020-01-03 08:40:15 -05:00
|
|
|
| ^
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
|
|
error: unexpected token: `;`
|
2020-01-08 21:25:42 +03:00
|
|
|
--> $DIR/parser-recovery-1.rs:10:15
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
2018-08-26 17:22:36 -07:00
|
|
|
LL | let x = y.;
|
2018-08-08 14:28:26 +02:00
|
|
|
| ^
|
|
|
|
|
|
|
|
error[E0425]: cannot find value `y` in this scope
|
2020-01-08 21:25:42 +03:00
|
|
|
--> $DIR/parser-recovery-1.rs:10:13
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
2018-08-26 17:22:36 -07:00
|
|
|
LL | let x = y.;
|
2018-08-08 14:28:26 +02:00
|
|
|
| ^ not found in this scope
|
|
|
|
|
2022-10-05 05:35:34 +00:00
|
|
|
error[E0425]: cannot find function `foo` in this scope
|
|
|
|
--> $DIR/parser-recovery-1.rs:5:17
|
|
|
|
|
|
|
|
|
LL | let x = foo();
|
|
|
|
| ^^^ not found in this scope
|
|
|
|
|
2019-10-28 17:44:20 -07:00
|
|
|
error: aborting due to 4 previous errors
|
2018-08-08 14:28:26 +02:00
|
|
|
|
2019-10-28 17:44:20 -07:00
|
|
|
For more information about this error, try `rustc --explain E0425`.
|