Skip to content

Commit aaf06d8

Browse files
committed
add nll compare mode stderr file
1 parent 20e032e commit aaf06d8

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed
+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
error: lifetime may not live long enough
2+
--> $DIR/issue-76547.rs:19:14
3+
|
4+
LL | async fn fut(bufs: &mut [&mut [u8]]) {
5+
| ^^^^ - - let's call the lifetime of this reference `'2`
6+
| | |
7+
| | let's call the lifetime of this reference `'1`
8+
| assignment requires that `'1` must outlive `'2`
9+
10+
error: lifetime may not live long enough
11+
--> $DIR/issue-76547.rs:33:15
12+
|
13+
LL | async fn fut2(bufs: &mut [&mut [u8]]) -> i32 {
14+
| ^^^^ - - let's call the lifetime of this reference `'2`
15+
| | |
16+
| | let's call the lifetime of this reference `'1`
17+
| assignment requires that `'1` must outlive `'2`
18+
19+
error: aborting due to 2 previous errors
20+

0 commit comments

Comments
 (0)