summaryrefslogtreecommitdiffstats
path: root/tests/ui/inline-const/const-expr-lifetime-err.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/inline-const/const-expr-lifetime-err.stderr')
-rw-r--r--tests/ui/inline-const/const-expr-lifetime-err.stderr1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/ui/inline-const/const-expr-lifetime-err.stderr b/tests/ui/inline-const/const-expr-lifetime-err.stderr
index a23f7c9a7..443fcf89c 100644
--- a/tests/ui/inline-const/const-expr-lifetime-err.stderr
+++ b/tests/ui/inline-const/const-expr-lifetime-err.stderr
@@ -4,6 +4,7 @@ error[E0597]: `y` does not live long enough
LL | fn foo<'a>() {
| -- lifetime `'a` defined here
LL | let y = ();
+ | - binding `y` declared here
LL | equate(InvariantRef::new(&y), const { InvariantRef::<'a>::NEW });
| ------------------^^-
| | |