]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/impl-trait/issues/issue-78722.stderr
Adjust wording
[rust.git] / src / test / ui / impl-trait / issues / issue-78722.stderr
index 690d6abc76663cf7cacf3d993fa7a94c7493b846..9a0ffbc89d92e6ce1321fd371f53f39cc035b52e 100644 (file)
@@ -16,7 +16,7 @@ LL |         let f: F = async { 1 };
 LL |     }],
    |     - value is dropped here
 
-error[E0271]: type mismatch resolving `<impl Future<Output = ()> as Future>::Output == u8`
+error[E0271]: expected `impl Future<Output = ()>` to be a future that resolves to `u8`, but it resolves to `()`
   --> $DIR/issue-78722.rs:9:30
    |
 LL |         fn concrete_use() -> F {