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