summaryrefslogtreecommitdiffstats
path: root/tests/ui/nll/dont-print-desugared.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/nll/dont-print-desugared.stderr')
-rw-r--r--tests/ui/nll/dont-print-desugared.stderr1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/ui/nll/dont-print-desugared.stderr b/tests/ui/nll/dont-print-desugared.stderr
index fad6121cb..289b246e6 100644
--- a/tests/ui/nll/dont-print-desugared.stderr
+++ b/tests/ui/nll/dont-print-desugared.stderr
@@ -10,6 +10,7 @@ error[E0597]: `y` does not live long enough
LL | for ref mut d in v {
| - a temporary with access to the borrow is created here ...
LL | let y = ();
+ | - binding `y` declared here
LL | *d = D(&y);
| ^^ borrowed value does not live long enough
LL | }