rust/src/test/ui/parser-recovery-2.stderr

31 lines
973 B
Plaintext
Raw Normal View History

error: unexpected token: `;`
--> $DIR/parser-recovery-2.rs:12:15
|
LL | let x = y.; //~ ERROR unexpected token
| ^
2018-08-08 07:28:26 -05:00
error: incorrect close delimiter: `)`
2018-12-25 09:56:47 -06:00
--> $DIR/parser-recovery-2.rs:8:5
2018-08-08 07:28:26 -05:00
|
LL | fn bar() {
2018-08-26 19:22:36 -05:00
| - un-closed delimiter
2018-08-14 20:04:20 -05:00
LL | let x = foo(); //~ ERROR cannot find function `foo` in this scope
LL | ) //~ ERROR incorrect close delimiter: `)`
| ^ incorrect close delimiter
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-2.rs:7:17
2018-08-08 07:28:26 -05:00
|
LL | let x = foo(); //~ ERROR cannot find function `foo` in this scope
| ^^^ 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-2.rs:12:13
2018-08-08 07:28:26 -05:00
|
LL | let x = y.; //~ ERROR unexpected token
| ^ not found in this scope
error: aborting due to 4 previous errors
For more information about this error, try `rustc --explain E0425`.