fix nll test stderr
This commit is contained in:
parent
d19c46870f
commit
404cc33eda
@ -23,7 +23,7 @@ error[E0597]: `self` does not live long enough
|
||||
LL | let _f = || {
|
||||
| -- value captured here
|
||||
LL | let p: &'static mut usize = &mut self.food;
|
||||
| ------------------ ^^^^ borrowed value does not live long enough
|
||||
| ------------------ ^^^^^^^^^ borrowed value does not live long enough
|
||||
| |
|
||||
| type annotation requires that `self` is borrowed for `'static`
|
||||
...
|
||||
|
Loading…
x
Reference in New Issue
Block a user