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

36 lines
1015 B
Plaintext
Raw Normal View History

2018-08-08 07:28:26 -05:00
error: this file contains an un-closed delimiter
2018-08-26 19:22:36 -05:00
--> $DIR/parser-recovery-1.rs:25:55
2018-08-08 07:28:26 -05:00
|
2018-08-26 19:22:36 -05:00
LL | trait Foo {
| - un-closed delimiter
...
2018-08-08 07:28:26 -05:00
LL | } //~ ERROR this file contains an un-closed delimiter
| ^
error: unexpected token: `;`
--> $DIR/parser-recovery-1.rs:22:15
|
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
--> $DIR/parser-recovery-1.rs:17:17
|
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
--> $DIR/parser-recovery-1.rs:22:13
|
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`.