]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/async-await/issues/issue-62009-1.stderr
core: add IntoFuture trait and support for await
[rust.git] / src / test / ui / async-await / issues / issue-62009-1.stderr
index 3a49a5a97de3d8d753b331db155751a66c7b2ddf..e31904b6c1f7bd8f4682667e33a6f2f15631b1d1 100644 (file)
@@ -32,11 +32,8 @@ error[E0277]: the trait bound `[closure@$DIR/issue-62009-1.rs:13:5: 13:15]: std:
    |
 LL |     (|_| 2333).await;
    |     ^^^^^^^^^^^^^^^^ the trait `std::future::Future` is not implemented for `[closure@$DIR/issue-62009-1.rs:13:5: 13:15]`
-   | 
-  ::: $SRC_DIR/libstd/future.rs:LL:COL
    |
-LL |     F: Future,
-   |        ------ required by this bound in `std::future::poll_with_tls_context`
+   = note: required by `std::future::IntoFuture::into_future`
 
 error: aborting due to 4 previous errors