summaryrefslogtreecommitdiffstats
path: root/tests/ui/match/issue-74050-end-span.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/match/issue-74050-end-span.stderr')
-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 0b3425f2b..0dafeae87 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