]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/parser-recovery-2.stderr
Rollup merge of #57107 - mjbshaw:thread_local_test, r=nikomatsakis
[rust.git] / src / test / ui / parser-recovery-2.stderr
index 1025dad3af7738c8675e18374b77baebbe770f8b..92d8cbc100a039fa79499ff976c0b75724b80ab7 100644 (file)
@@ -1,26 +1,26 @@
 error: incorrect close delimiter: `)`
-  --> $DIR/parser-recovery-2.rs:18:5
+  --> $DIR/parser-recovery-2.rs:8:5
    |
 LL |     fn bar() {
-   |              - unclosed delimiter
+   |              - un-closed delimiter
 LL |         let x = foo(); //~ ERROR cannot find function `foo` in this scope
 LL |     ) //~ ERROR incorrect close delimiter: `)`
    |     ^ incorrect close delimiter
 
 error: unexpected token: `;`
-  --> $DIR/parser-recovery-2.rs:22:15
+  --> $DIR/parser-recovery-2.rs:12:15
    |
 LL |     let x = y.;  //~ ERROR unexpected token
    |               ^
 
 error[E0425]: cannot find function `foo` in this scope
-  --> $DIR/parser-recovery-2.rs:17:17
+  --> $DIR/parser-recovery-2.rs:7:17
    |
 LL |         let x = foo(); //~ ERROR cannot find function `foo` in this scope
    |                 ^^^ not found in this scope
 
 error[E0425]: cannot find value `y` in this scope
-  --> $DIR/parser-recovery-2.rs:22:13
+  --> $DIR/parser-recovery-2.rs:12:13
    |
 LL |     let x = y.;  //~ ERROR unexpected token
    |             ^ not found in this scope