summaryrefslogtreecommitdiffstats
path: root/tests/ui/span/issue28498-reject-lifetime-param.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/span/issue28498-reject-lifetime-param.stderr')
-rw-r--r--tests/ui/span/issue28498-reject-lifetime-param.stderr3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/ui/span/issue28498-reject-lifetime-param.stderr b/tests/ui/span/issue28498-reject-lifetime-param.stderr
index 3119ddd03..94c450c7b 100644
--- a/tests/ui/span/issue28498-reject-lifetime-param.stderr
+++ b/tests/ui/span/issue28498-reject-lifetime-param.stderr
@@ -1,6 +1,9 @@
error[E0597]: `first_dropped` does not live long enough
--> $DIR/issue28498-reject-lifetime-param.rs:32:19
|
+LL | let (foo1, first_dropped);
+ | ------------- binding `first_dropped` declared here
+...
LL | foo1 = Foo(1, &first_dropped);
| ^^^^^^^^^^^^^^ borrowed value does not live long enough
...