]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/reassign-ref-mut.stderr
Rollup merge of #57132 - daxpedda:master, r=steveklabnik
[rust.git] / src / test / ui / reassign-ref-mut.stderr
index bf627dde720b1953c10da76dc315d1c768fa92a7..e623578e025226c394e33f302e963edd793a0599 100644 (file)
@@ -1,5 +1,5 @@
 error[E0384]: cannot assign twice to immutable variable `a`
-  --> $DIR/reassign-ref-mut.rs:22:5
+  --> $DIR/reassign-ref-mut.rs:12:5
    |
 LL |     let &mut (ref a, ref mut b) = &mut one_two;
    |               ----- first assignment to `a`
@@ -7,7 +7,7 @@ LL |     a = &three_four.0;
    |     ^^^^^^^^^^^^^^^^^ cannot assign twice to immutable variable
 
 error[E0384]: cannot assign twice to immutable variable `b`
-  --> $DIR/reassign-ref-mut.rs:24:5
+  --> $DIR/reassign-ref-mut.rs:14:5
    |
 LL |     let &mut (ref a, ref mut b) = &mut one_two;
    |                      --------- first assignment to `b`