Skip to content

Commit 404cc33

Browse files
committed
fix nll test stderr
1 parent d19c468 commit 404cc33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/ui/regions/regions-addr-of-upvar-self.nll.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ error[E0597]: `self` does not live long enough
2323
LL | let _f = || {
2424
| -- value captured here
2525
LL | let p: &'static mut usize = &mut self.food;
26-
| ------------------ ^^^^ borrowed value does not live long enough
26+
| ------------------ ^^^^^^^^^ borrowed value does not live long enough
2727
| |
2828
| type annotation requires that `self` is borrowed for `'static`
2929
...

0 commit comments

Comments
 (0)