]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/impl-trait/auto-trait.rs
New upstream version 1.61.0+dfsg1
[rustc.git] / src / test / ui / impl-trait / auto-trait.rs
index cf2773f4ef59dc921a6e919aab056bb13c89f94a..35994e4a5ba3f5b7556ef82e9cbb6c0def9e12e6 100644 (file)
@@ -19,7 +19,7 @@ impl<T: Send> AnotherTrait for T {}
 // (We treat opaque types as "foreign types" that could grow more impls
 // in the future.)
 impl AnotherTrait for D<OpaqueType> {
-    //~^ ERROR conflicting implementations of trait `AnotherTrait` for type `D<impl OpaqueTrait>`
+    //~^ ERROR conflicting implementations of trait `AnotherTrait` for type `D<OpaqueType>`
 }
 
 fn main() {}