File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ LL | [1; ().await];
25
25
| ^^^^^^^^ `()` is not a future
26
26
|
27
27
= help: the trait `Future` is not implemented for `()`
28
+ = note: required because of the requirements on the impl of `IntoFuture` for `()`
28
29
29
30
error: aborting due to 4 previous errors
30
31
Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ LL | (|_| 2333).await;
34
34
| ^^^^^^^^^^^^^^^^ `[closure@$DIR/issue-62009-1.rs:12:5: 12:15]` is not a future
35
35
|
36
36
= help: the trait `Future` is not implemented for `[closure@$DIR/issue-62009-1.rs:12:5: 12:15]`
37
+ = note: required because of the requirements on the impl of `IntoFuture` for `[closure@$DIR/issue-62009-1.rs:12:5: 12:15]`
37
38
38
39
error: aborting due to 4 previous errors
39
40
You can’t perform that action at this time.
0 commit comments