]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/suggestions/expected-boxed-future-isnt-pinned.stderr
New upstream version 1.61.0+dfsg1
[rustc.git] / src / test / ui / suggestions / expected-boxed-future-isnt-pinned.stderr
index 550ed4b03b03937d2fe73fbff637f155ea662c48..7ef4895249cec7218f08a5836b9dd9edc0d817c2 100644 (file)
@@ -81,7 +81,7 @@ LL |   pub const fn from_generator<T>(gen: T) -> impl Future<Output = T::Return>
    |                                             ------------------------------- the found opaque type
    |
    = note:   expected struct `Pin<Box<(dyn Future<Output = i32> + Send + 'static)>>`
-           found opaque type `impl Future<Output = [async output]>`
+           found opaque type `impl Future`
 help: you need to pin and box this expression
    |
 LL ~     Box::pin(async {