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