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: tests/ui/generic-associated-types/bugs/issue-100013.stderr
+10-14
Original file line number
Diff line number
Diff line change
@@ -2,77 +2,73 @@ error: lifetime bound not satisfied
2
2
--> $DIR/issue-100013.rs:15:5
3
3
|
4
4
LL | / async { // a generator checked for autotrait impl `Send`
5
-
LL | |
6
5
LL | | let x = None::<I::Future<'_, '_>>; // a type referencing GAT
7
6
LL | | async {}.await; // a yield point
8
7
LL | | }
9
8
| |_____^
10
9
|
11
10
note: the lifetime defined here...
12
-
--> $DIR/issue-100013.rs:17:38
11
+
--> $DIR/issue-100013.rs:16:38
13
12
|
14
13
LL | let x = None::<I::Future<'_, '_>>; // a type referencing GAT
15
14
| ^^
16
15
note: ...must outlive the lifetime defined here
17
-
--> $DIR/issue-100013.rs:17:34
16
+
--> $DIR/issue-100013.rs:16:34
18
17
|
19
18
LL | let x = None::<I::Future<'_, '_>>; // a type referencing GAT
20
19
| ^^
21
20
= note: this is a known limitation that will be removed in the future (see issue #100013 <https://github.com/rust-lang/rust/issues/100013> for more information)
22
21
23
22
error: lifetime bound not satisfied
24
-
--> $DIR/issue-100013.rs:23:5
23
+
--> $DIR/issue-100013.rs:22:5
25
24
|
26
25
LL | / async { // a generator checked for autotrait impl `Send`
27
-
LL | |
28
26
LL | | let x = None::<I::Future<'a, 'b>>; // a type referencing GAT
= note: this is a known limitation that will be removed in the future (see issue #100013 <https://github.com/rust-lang/rust/issues/100013> for more information)
0 commit comments