]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/suggestions/issue-72766.stderr
New upstream version 1.55.0+dfsg1
[rustc.git] / src / test / ui / suggestions / issue-72766.stderr
index eb67170d47cdf10c51e145be9582de38803b46d0..fcc49ef59d1294711d6e781e537976d074f83b66 100644 (file)
@@ -5,7 +5,11 @@ LL |     SadGirl {}.call()?;
    |     ^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `impl Future`
    |
    = help: the trait `Try` is not implemented for `impl Future`
-   = note: required by `branch`
+note: required by `branch`
+  --> $SRC_DIR/core/src/ops/try_trait.rs:LL:COL
+   |
+LL |     fn branch(self) -> ControlFlow<Self::Residual, Self::Output>;
+   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 help: consider `await`ing on the `Future`
    |
 LL |     SadGirl {}.call().await?;