You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: src/test/ui/async-await/issue-68112.stderr
+2-2
Original file line number
Diff line number
Diff line change
@@ -41,8 +41,8 @@ LL | require_send(send_fut);
41
41
|
42
42
= help: the trait `Sync` is not implemented for `RefCell<i32>`
43
43
= note: required because of the requirements on the impl of `Send` for `Arc<RefCell<i32>>`
44
-
= note: required because it appears within the type `[static generator@$DIR/issue-68112.rs:47:31: 47:36 t:Arc<RefCell<i32>> {}]`
45
-
= note: required because it appears within the type `from_generator::GenFuture<[static generator@$DIR/issue-68112.rs:47:31: 47:36 t:Arc<RefCell<i32>> {}]>`
44
+
= note: required because it appears within the type `[static generator@$DIR/issue-68112.rs:47:31: 47:36 {}]`
45
+
= note: required because it appears within the type `from_generator::GenFuture<[static generator@$DIR/issue-68112.rs:47:31: 47:36 {}]>`
46
46
= note: required because it appears within the type `impl Future`
47
47
= note: required because it appears within the type `impl Future`
48
48
= note: required because it appears within the type `impl Future`
Copy file name to clipboardexpand all lines: src/test/ui/borrowck/issue-53432-nested-closure-outlives-borrowed-value.stderr
+1-1
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ error: lifetime may not live long enough
4
4
LL | let _action = move || {
5
5
| -------
6
6
| | |
7
-
| | return type of closure is [closure@$DIR/issue-53432-nested-closure-outlives-borrowed-value.rs:4:9: 4:15 f:&'2 [closure@$DIR/issue-53432-nested-closure-outlives-borrowed-value.rs:2:13: 2:23]]
7
+
| | return type of closure is [closure@$DIR/issue-53432-nested-closure-outlives-borrowed-value.rs:4:9: 4:15]
8
8
| lifetime `'1` represents this closure's body
9
9
LL | || f() // The `nested` closure
10
10
| ^^^^^^ returning this value requires that `'1` must outlive `'2`
0 commit comments