]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/impl-trait/issue-55872-3.stderr
Rollup merge of #95504 - jyn514:library-alias, r=Mark-Simulacrum
[rust.git] / src / test / ui / impl-trait / issue-55872-3.stderr
index 69a5c8d613577c1814678aaeb7fc8af6210fcc15..e7023e8127c3d544513636ed861e92ef886fa7cc 100644 (file)
@@ -1,8 +1,8 @@
-error[E0277]: the trait bound `impl Future: Copy` is not satisfied
+error[E0277]: the trait bound `impl Future<Output = ()>: Copy` is not satisfied
   --> $DIR/issue-55872-3.rs:15:9
    |
 LL |         async {}
-   |         ^^^^^^^^ the trait `Copy` is not implemented for `impl Future`
+   |         ^^^^^^^^ the trait `Copy` is not implemented for `impl Future<Output = ()>`
 
 error: aborting due to previous error