We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 20e032e commit aaf06d8Copy full SHA for aaf06d8
src/test/ui/issues/issue-76547.nll.stderr
@@ -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
11
+ --> $DIR/issue-76547.rs:33:15
12
13
+LL | async fn fut2(bufs: &mut [&mut [u8]]) -> i32 {
14
15
16
17
18
19
+error: aborting due to 2 previous errors
20
0 commit comments