fork/rust

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

borsAuto merge of #72883 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum49cae55760d

1.44.0
934 B35 linesraw
1error: this file contains an unclosed delimiter
2  --> $DIR/parser-recovery-1.rs:13:54
3   |
4LL | trait Foo {
5   |           - unclosed delimiter
6LL |     fn bar() {
7   |              - this delimiter might not be properly closed...
8...
9LL | }
10   | - ...as it matches this but it has different indentation
11...
12LL | }
13   |                                                      ^
14
15error: unexpected token: `;`
16  --> $DIR/parser-recovery-1.rs:10:15
17   |
18LL |     let x = y.;
19   |               ^
20
21error[E0425]: cannot find function `foo` in this scope
22  --> $DIR/parser-recovery-1.rs:5:17
23   |
24LL |         let x = foo();
25   |                 ^^^ not found in this scope
26
27error[E0425]: cannot find value `y` in this scope
28  --> $DIR/parser-recovery-1.rs:10:13
29   |
30LL |     let x = y.;
31   |             ^ not found in this scope
32
33error: aborting due to 4 previous errors
34
35For more information about this error, try `rustc --explain E0425`.