fork/rust

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

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

1.41.0
937 B35 linesraw
1error: this file contains an un-closed delimiter
2  --> $DIR/parser-recovery-1.rs:15:55
3   |
4LL | trait Foo {
5   |           - un-closed 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:12:15
17   |
18LL |     let x = y.;
19   |               ^
20
21error[E0425]: cannot find function `foo` in this scope
22  --> $DIR/parser-recovery-1.rs:7: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:12: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`.