We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d19c468 commit 404cc33Copy full SHA for 404cc33
src/test/ui/regions/regions-addr-of-upvar-self.nll.stderr
@@ -23,7 +23,7 @@ error[E0597]: `self` does not live long enough
23
LL | let _f = || {
24
| -- value captured here
25
LL | let p: &'static mut usize = &mut self.food;
26
- | ------------------ ^^^^ borrowed value does not live long enough
+ | ------------------ ^^^^^^^^^ borrowed value does not live long enough
27
| |
28
| type annotation requires that `self` is borrowed for `'static`
29
...
0 commit comments