]> git.proxmox.com Git - rustc.git/blobdiff - tests/ui/borrowck/issue-45199.stderr
New upstream version 1.70.0+dfsg1
[rustc.git] / tests / ui / borrowck / issue-45199.stderr
index 47aa30908270d91b7ac9107dcf7318ea259b5e6a..163f2370ba010097eb182788512ebffdb21ebb05 100644 (file)
@@ -10,7 +10,7 @@ LL |     b = Box::new(2);
    |     ^ cannot assign twice to immutable variable
 
 error[E0384]: cannot assign twice to immutable variable `b`
-  --> $DIR/issue-45199.rs:14:5
+  --> $DIR/issue-45199.rs:15:5
    |
 LL |     let b = Box::new(1);
    |         -
@@ -22,7 +22,7 @@ LL |     b = Box::new(2);
    |     ^ cannot assign twice to immutable variable
 
 error[E0384]: cannot assign to immutable argument `b`
-  --> $DIR/issue-45199.rs:20:5
+  --> $DIR/issue-45199.rs:22:5
    |
 LL | fn test_args(b: Box<i32>) {
    |              - help: consider making this binding mutable: `mut b`