]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/E0501.ast.stderr
Rollup merge of #57107 - mjbshaw:thread_local_test, r=nikomatsakis
[rust.git] / src / test / ui / E0501.ast.stderr
index 229b16650173e388abbf8ac72eba127e4384c786..e0bd7a08d7f5bce4d68333fd47ff6359a28e555f 100644 (file)
@@ -1,5 +1,5 @@
 error[E0501]: cannot borrow `*a` as mutable because previous closure requires unique access
-  --> $DIR/E0501.rs:28:23
+  --> $DIR/E0501.rs:18:23
    |
 LL |     let bar = || {
    |               -- closure construction occurs here
@@ -13,7 +13,7 @@ LL | }
    | - borrow from closure ends here
 
 error[E0501]: cannot borrow `*a` as immutable because previous closure requires unique access
-  --> $DIR/E0501.rs:31:23
+  --> $DIR/E0501.rs:21:23
    |
 LL |     let bar = || {
    |               -- closure construction occurs here