add nll compare mode stderr file
This commit is contained in:
parent
20e032e650
commit
aaf06d8d67
20
src/test/ui/issues/issue-76547.nll.stderr
Normal file
20
src/test/ui/issues/issue-76547.nll.stderr
Normal file
@ -0,0 +1,20 @@
|
||||
error: lifetime may not live long enough
|
||||
--> $DIR/issue-76547.rs:19:14
|
||||
|
|
||||
LL | async fn fut(bufs: &mut [&mut [u8]]) {
|
||||
| ^^^^ - - let's call the lifetime of this reference `'2`
|
||||
| | |
|
||||
| | let's call the lifetime of this reference `'1`
|
||||
| assignment requires that `'1` must outlive `'2`
|
||||
|
||||
error: lifetime may not live long enough
|
||||
--> $DIR/issue-76547.rs:33:15
|
||||
|
|
||||
LL | async fn fut2(bufs: &mut [&mut [u8]]) -> i32 {
|
||||
| ^^^^ - - let's call the lifetime of this reference `'2`
|
||||
| | |
|
||||
| | let's call the lifetime of this reference `'1`
|
||||
| assignment requires that `'1` must outlive `'2`
|
||||
|
||||
error: aborting due to 2 previous errors
|
||||
|
Loading…
x
Reference in New Issue
Block a user