about summary refs log tree commit diff
path: root/tests/ui/array-slice-vec
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2023-06-22 20:30:23 +0000
committerMichael Goulet <michael@errs.io>2023-07-10 20:09:26 +0000
commitfe870424a75aeb4727f9516808b2f5735d014ab6 (patch)
tree07c9822dad2b517f4ca63e325f7a03052be6c11f /tests/ui/array-slice-vec
parent05b82e551e781154ad2af8a72f34712e97206859 (diff)
downloadrust-fe870424a75aeb4727f9516808b2f5735d014ab6.tar.gz
rust-fe870424a75aeb4727f9516808b2f5735d014ab6.zip
Do not set up wrong span for adjustments
Diffstat (limited to 'tests/ui/array-slice-vec')
-rw-r--r--tests/ui/array-slice-vec/vec-mut-iter-borrow.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/array-slice-vec/vec-mut-iter-borrow.stderr b/tests/ui/array-slice-vec/vec-mut-iter-borrow.stderr
index 0ec263c850e..679fd899773 100644
--- a/tests/ui/array-slice-vec/vec-mut-iter-borrow.stderr
+++ b/tests/ui/array-slice-vec/vec-mut-iter-borrow.stderr
@@ -7,7 +7,7 @@ LL |     for x in &mut xs {
    |              first mutable borrow occurs here
    |              first borrow later used here
 LL |         xs.push(1)
-   |         ^^^^^^^^^^ second mutable borrow occurs here
+   |         ^^ second mutable borrow occurs here
 
 error: aborting due to previous error