]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/async-await/generator-desc.stderr
remove [async output] from impl Future
[rust.git] / src / test / ui / async-await / generator-desc.stderr
index 4a45d8d2a942344a55427e35341450aec65e3478..79834ed7ec1a8fb08d64c5cbdbba08c9a13536ad 100644 (file)
@@ -46,8 +46,8 @@ LL | pub const fn from_generator<T>(gen: T) -> impl Future<Output = T::Return>
    |                                           the expected opaque type
    |                                           the found opaque type
    |
-   = note: expected opaque type `impl Future<Output = [async output]>` (`async` closure body)
-              found opaque type `impl Future<Output = [async output]>` (`async` closure body)
+   = note: expected opaque type `impl Future` (`async` closure body)
+              found opaque type `impl Future` (`async` closure body)
 
 error: aborting due to 3 previous errors