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];
2525 | ^^^^^^^^ `()` is not a future
2626 |
2727 = help: the trait `Future` is not implemented for `()`
28+ = note: required because of the requirements on the impl of `IntoFuture` for `()`
2829
2930error: aborting due to 4 previous errors
3031
Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ LL | (|_| 2333).await;
3434 | ^^^^^^^^^^^^^^^^ `[closure@$DIR/issue-62009-1.rs:12:5: 12:15]` is not a future
3535 |
3636 = 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]`
3738
3839error: aborting due to 4 previous errors
3940
You can’t perform that action at this time.
0 commit comments