about summary refs log tree commit diff
path: root/tests/ui/use
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/use
parent05b82e551e781154ad2af8a72f34712e97206859 (diff)
downloadrust-fe870424a75aeb4727f9516808b2f5735d014ab6.tar.gz
rust-fe870424a75aeb4727f9516808b2f5735d014ab6.zip
Do not set up wrong span for adjustments
Diffstat (limited to 'tests/ui/use')
-rw-r--r--tests/ui/use/use-after-move-implicity-coerced-object.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/use/use-after-move-implicity-coerced-object.stderr b/tests/ui/use/use-after-move-implicity-coerced-object.stderr
index dfa0c04836e..84487a8d0dc 100644
--- a/tests/ui/use/use-after-move-implicity-coerced-object.stderr
+++ b/tests/ui/use/use-after-move-implicity-coerced-object.stderr
@@ -8,7 +8,7 @@ LL |     l.push(n);
    |            - value moved here
 LL |
 LL |     let x = n.to_string();
-   |             ^^^^^^^^^^^^^ value borrowed here after move
+   |             ^ value borrowed here after move
    |
 note: consider changing this parameter type in method `push` to borrow instead if owning the value isn't necessary
   --> $DIR/use-after-move-implicity-coerced-object.rs:17:27