summaryrefslogtreecommitdiff
path: root/tests/ui/binop
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/binop
parent05b82e551e781154ad2af8a72f34712e97206859 (diff)
Do not set up wrong span for adjustments
Diffstat (limited to 'tests/ui/binop')
-rw-r--r--tests/ui/binop/binop-move-semantics.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/binop/binop-move-semantics.stderr b/tests/ui/binop/binop-move-semantics.stderr
index 8645169b98a..1dd8c9a87d4 100644
--- a/tests/ui/binop/binop-move-semantics.stderr
+++ b/tests/ui/binop/binop-move-semantics.stderr
@@ -27,7 +27,7 @@ LL | x
| - value moved here
LL | +
LL | x.clone();
- | ^^^^^^^^^ value borrowed here after move
+ | ^ value borrowed here after move
|
help: consider cloning the value if the performance cost is acceptable
|