summaryrefslogtreecommitdiffstats
path: root/tests/ui/borrowck/borrowck-vec-pattern-loan-from-mut.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/borrowck/borrowck-vec-pattern-loan-from-mut.stderr')
-rw-r--r--tests/ui/borrowck/borrowck-vec-pattern-loan-from-mut.stderr5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/ui/borrowck/borrowck-vec-pattern-loan-from-mut.stderr b/tests/ui/borrowck/borrowck-vec-pattern-loan-from-mut.stderr
index eb0f24b9b..5141fcc1b 100644
--- a/tests/ui/borrowck/borrowck-vec-pattern-loan-from-mut.stderr
+++ b/tests/ui/borrowck/borrowck-vec-pattern-loan-from-mut.stderr
@@ -5,9 +5,8 @@ LL | let vb: &mut [isize] = &mut v;
| ------ first mutable borrow occurs here
...
LL | v.push(tail[0] + tail[1]);
- | ^^^^^^^-------^^^^^^^^^^^
- | | |
- | | first borrow later used here
+ | ^ ------- first borrow later used here
+ | |
| second mutable borrow occurs here
error: aborting due to previous error