]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser-recovery-2.stderr
Auto merge of #54624 - arielb1:evaluate-outlives, r=nikomatsakis
[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 |     fn bar() {
5    |              - un-closed delimiter
6 LL |         let x = foo(); //~ ERROR cannot find function `foo` in this scope
7 LL |     ) //~ ERROR incorrect close delimiter: `)`
8    |     ^ incorrect close delimiter
9
10 error: unexpected token: `;`
11   --> $DIR/parser-recovery-2.rs:22:15
12    |
13 LL |     let x = y.;  //~ ERROR unexpected token
14    |               ^
15
16 error[E0425]: cannot find function `foo` in this scope
17   --> $DIR/parser-recovery-2.rs:17:17
18    |
19 LL |         let x = foo(); //~ ERROR cannot find function `foo` in this scope
20    |                 ^^^ not found in this scope
21
22 error[E0425]: cannot find value `y` in this scope
23   --> $DIR/parser-recovery-2.rs:22:13
24    |
25 LL |     let x = y.;  //~ ERROR unexpected token
26    |             ^ not found in this scope
27
28 error: aborting due to 4 previous errors
29
30 For more information about this error, try `rustc --explain E0425`.