fork/rust

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

borsAuto merge of #71868 - Mark-Simulacrum:stable-1.43.1, r=pietroalbini8d69840ab92

1.43.1
779 B30 linesraw
1error: unexpected token: `;`
2  --> $DIR/parser-recovery-2.rs:10:15
3   |
4LL |     let x = y.;
5   |               ^
6
7error: mismatched closing delimiter: `)`
8  --> $DIR/parser-recovery-2.rs:6:5
9   |
10LL |     fn bar() {
11   |              - unclosed delimiter
12LL |         let x = foo();
13LL |     )
14   |     ^ mismatched closing delimiter
15
16error[E0425]: cannot find function `foo` in this scope
17  --> $DIR/parser-recovery-2.rs:5: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:10: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`.