]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/parser/parser-recovery-1.stderr
:arrow_up: rust-analyzer
[rust.git] / src / test / ui / parser / parser-recovery-1.stderr
index f56060c3e356f6b41b31e373820f85349db2b503..0cb771ea39c6d94c89e193601d36bb0301320218 100644 (file)
@@ -18,18 +18,18 @@ error: unexpected token: `;`
 LL |     let x = y.;
    |               ^
 
-error[E0425]: cannot find function `foo` in this scope
-  --> $DIR/parser-recovery-1.rs:5:17
-   |
-LL |         let x = foo();
-   |                 ^^^ not found in this scope
-
 error[E0425]: cannot find value `y` in this scope
   --> $DIR/parser-recovery-1.rs:10:13
    |
 LL |     let x = y.;
    |             ^ not found in this scope
 
+error[E0425]: cannot find function `foo` in this scope
+  --> $DIR/parser-recovery-1.rs:5:17
+   |
+LL |         let x = foo();
+   |                 ^^^ not found in this scope
+
 error: aborting due to 4 previous errors
 
 For more information about this error, try `rustc --explain E0425`.