summaryrefslogtreecommitdiffstats
path: root/tests/ui/borrowck/issue-45199.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/borrowck/issue-45199.stderr')
-rw-r--r--tests/ui/borrowck/issue-45199.stderr4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/borrowck/issue-45199.stderr b/tests/ui/borrowck/issue-45199.stderr
index 47aa30908..163f2370b 100644
--- a/tests/ui/borrowck/issue-45199.stderr
+++ b/tests/ui/borrowck/issue-45199.stderr
@@ -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`