]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser-recovery-1.stderr
Rollup merge of #53317 - estebank:abolish-ice, r=oli-obk
[rust.git] / src / test / ui / parser-recovery-1.stderr
1 error: this file contains an un-closed delimiter
2   --> $DIR/parser-recovery-1.rs:24:55
3    |
4 LL | } //~ ERROR this file contains an un-closed delimiter
5    |                                                       ^
6    |
7 help: did you mean to close this delimiter?
8   --> $DIR/parser-recovery-1.rs:15:11
9    |
10 LL | trait Foo {
11    |           ^
12
13 error: unexpected token: `;`
14   --> $DIR/parser-recovery-1.rs:22:15
15    |
16 LL |     let x = y.;  //~ ERROR unexpected token
17    |               ^
18
19 error[E0425]: cannot find function `foo` in this scope
20   --> $DIR/parser-recovery-1.rs:17:17
21    |
22 LL |         let x = foo(); //~ ERROR cannot find function `foo` in this scope
23    |                 ^^^ not found in this scope
24
25 error[E0425]: cannot find value `y` in this scope
26   --> $DIR/parser-recovery-1.rs:22:13
27    |
28 LL |     let x = y.;  //~ ERROR unexpected token
29    |             ^ not found in this scope
30
31 error[E0601]: `main` function not found in crate `parser_recovery_1`
32    |
33    = note: consider adding a `main` function to `$DIR/parser-recovery-1.rs`
34
35 error: aborting due to 5 previous errors
36
37 Some errors occurred: E0425, E0601.
38 For more information about an error, try `rustc --explain E0425`.