]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/impl-trait/issue-55872-3.rs
Rollup merge of #105555 - krasimirgg:llvm-int-opt-2, r=cuviper
[rust.git] / src / test / ui / impl-trait / issue-55872-3.rs
index 3ffce85e61ba4fd079c86c35a587f189f3dbd781..91811df93cd4a1df96f9dac70973f1964bbcdfd3 100644 (file)
@@ -12,7 +12,7 @@ pub trait Bar {
 impl<S> Bar for S {
     type E = impl std::marker::Copy;
     fn foo<T>() -> Self::E {
-    //~^ ERROR the trait bound `impl Future<Output = ()>: Copy` is not satisfied [E0277]
+        //~^ ERROR : Copy` is not satisfied [E0277]
         async {}
     }
 }