summaryrefslogtreecommitdiffstats
path: root/tests/ui/span/issue-23338-locals-die-before-temps-of-body.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/span/issue-23338-locals-die-before-temps-of-body.stderr')
-rw-r--r--tests/ui/span/issue-23338-locals-die-before-temps-of-body.stderr4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/span/issue-23338-locals-die-before-temps-of-body.stderr b/tests/ui/span/issue-23338-locals-die-before-temps-of-body.stderr
index e1a377203..421c22566 100644
--- a/tests/ui/span/issue-23338-locals-die-before-temps-of-body.stderr
+++ b/tests/ui/span/issue-23338-locals-die-before-temps-of-body.stderr
@@ -4,7 +4,7 @@ error[E0597]: `y` does not live long enough
LL | let y = x;
| - binding `y` declared here
LL | y.borrow().clone()
- | ^^^^^^^^^^
+ | ^---------
| |
| borrowed value does not live long enough
| a temporary with access to the borrow is created here ...
@@ -27,7 +27,7 @@ error[E0597]: `y` does not live long enough
LL | let y = x;
| - binding `y` declared here
LL | y.borrow().clone()
- | ^^^^^^^^^^
+ | ^---------
| |
| borrowed value does not live long enough
| a temporary with access to the borrow is created here ...