diff options
Diffstat (limited to 'tests/ui/span/send-is-not-static-ensures-scoping.stderr')
-rw-r--r-- | tests/ui/span/send-is-not-static-ensures-scoping.stderr | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/ui/span/send-is-not-static-ensures-scoping.stderr b/tests/ui/span/send-is-not-static-ensures-scoping.stderr index 65d10c130..bae0befca 100644 --- a/tests/ui/span/send-is-not-static-ensures-scoping.stderr +++ b/tests/ui/span/send-is-not-static-ensures-scoping.stderr @@ -4,6 +4,7 @@ error[E0597]: `x` does not live long enough LL | let bad = { | --- borrow later stored here LL | let x = 1; + | - binding `x` declared here LL | let y = &x; | ^^ borrowed value does not live long enough ... |