about summary refs log tree commit diff
path: root/tests/ui/match
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/match
parent05b82e551e781154ad2af8a72f34712e97206859 (diff)
downloadrust-fe870424a75aeb4727f9516808b2f5735d014ab6.tar.gz
rust-fe870424a75aeb4727f9516808b2f5735d014ab6.zip
Do not set up wrong span for adjustments
Diffstat (limited to 'tests/ui/match')
-rw-r--r--tests/ui/match/issue-74050-end-span.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/match/issue-74050-end-span.stderr b/tests/ui/match/issue-74050-end-span.stderr
index 0b3425f2b1a..0dafeae870e 100644
--- a/tests/ui/match/issue-74050-end-span.stderr
+++ b/tests/ui/match/issue-74050-end-span.stderr
@@ -6,7 +6,7 @@ LL |     let _arg = match args.next() {
 LL |         Some(arg) => {
    |              --- binding `arg` declared here
 LL |             match arg.to_str() {
-   |                   ^^^^^^^^^^^^ borrowed value does not live long enough
+   |                   ^^^ borrowed value does not live long enough
 ...
 LL |         }
    |         - `arg` dropped here while still borrowed