fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #68568 - pietroalbini:stable-next, r=pietroalbini5e1a799842b

1.41.0
774 B30 linesraw
1error: unexpected token: `;`
2  --> $DIR/parser-recovery-2.rs:12:15
3   |
4LL |     let x = y.;
5   |               ^
6
7error: incorrect close delimiter: `)`
8  --> $DIR/parser-recovery-2.rs:8:5
9   |
10LL |     fn bar() {
11   |              - un-closed delimiter
12LL |         let x = foo();
13LL |     )
14   |     ^ incorrect close delimiter
15
16error[E0425]: cannot find function `foo` in this scope
17  --> $DIR/parser-recovery-2.rs:7:17
18   |
19LL |         let x = foo();
20   |                 ^^^ not found in this scope
21
22error[E0425]: cannot find value `y` in this scope
23  --> $DIR/parser-recovery-2.rs:12:13
24   |
25LL |     let x = y.;
26   |             ^ not found in this scope
27
28error: aborting due to 4 previous errors
29
30For more information about this error, try `rustc --explain E0425`.