]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/parser-recovery-2.stderr
Account for ADT bodies and struct expressions
[rust.git] / src / test / ui / parser / parser-recovery-2.stderr
1 error: unexpected token: `;`
2   --> $DIR/parser-recovery-2.rs:10:15
3    |
4 LL |     let x = y.;
5    |               ^
6
7 error: mismatched closing delimiter: `)`
8   --> $DIR/parser-recovery-2.rs:4:14
9    |
10 LL |     fn bar() {
11    |              ^ unclosed delimiter
12 LL |         let x = foo();
13 LL |     )
14    |     ^ mismatched closing delimiter
15
16 error[E0425]: cannot find value `y` in this scope
17   --> $DIR/parser-recovery-2.rs:10:13
18    |
19 LL |     let x = y.;
20    |             ^ not found in this scope
21
22 error[E0425]: cannot find function `foo` in this scope
23   --> $DIR/parser-recovery-2.rs:5:17
24    |
25 LL |         let x = foo();
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`.