We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ca2057c commit db80c07Copy full SHA for db80c07
src/test/ui/async-await/issue-70594.stderr
@@ -25,6 +25,7 @@ LL | [1; ().await];
25
| ^^^^^^^^ `()` is not a future
26
|
27
= help: the trait `Future` is not implemented for `()`
28
+ = note: required because of the requirements on the impl of `IntoFuture` for `()`
29
30
error: aborting due to 4 previous errors
31
src/test/ui/async-await/issues/issue-62009-1.stderr
@@ -34,6 +34,7 @@ LL | (|_| 2333).await;
34
| ^^^^^^^^^^^^^^^^ `[closure@$DIR/issue-62009-1.rs:12:5: 12:15]` is not a future
35
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]`
38
39
40
0 commit comments