]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser-recovery-2.stderr
Rollup merge of #53226 - QuietMisdreavus:editions-for-all, r=estebank
[rust.git] / src / test / ui / parser-recovery-2.stderr
1 error: incorrect close delimiter: `)`
2   --> $DIR/parser-recovery-2.rs:18:5
3    |
4 LL |     ) //~ ERROR incorrect close delimiter: `)`
5    |     ^
6    |
7 note: unclosed delimiter
8   --> $DIR/parser-recovery-2.rs:16:14
9    |
10 LL |     fn bar() {
11    |              ^
12
13 error: unexpected token: `;`
14   --> $DIR/parser-recovery-2.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-2.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-2.rs:22:13
27    |
28 LL |     let x = y.;  //~ ERROR unexpected token
29    |             ^ not found in this scope
30
31 error: aborting due to 4 previous errors
32
33 For more information about this error, try `rustc --explain E0425`.