]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/impl-trait/issues/issue-78722.stderr
remove [async output] from impl Future
[rust.git] / src / test / ui / impl-trait / issues / issue-78722.stderr
index 130678de2370cd47ed6978b7c50ef91a15a443d9..86bde9a0cddab967e843d72c87f133d05165caef 100644 (file)
@@ -15,7 +15,7 @@ LL | pub const fn from_generator<T>(gen: T) -> impl Future<Output = T::Return>
    |                                           ------------------------------- the found opaque type
    |
    = note: expected opaque type `impl Future<Output = u8>`
-              found opaque type `impl Future<Output = [async output]>`
+              found opaque type `impl Future`
    = note: distinct uses of `impl Trait` result in different opaque types
 
 error: aborting due to previous error