Skip to content

Commit

Permalink
fix nll test stderr
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisPardy committed May 2, 2021
1 parent d19c468 commit 404cc33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/ui/regions/regions-addr-of-upvar-self.nll.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -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`
...
Expand Down

0 comments on commit 404cc33

Please sign in to comment.