]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/type-alias-impl-trait/incoherent-assoc-imp-trait.rs
Rollup merge of #85766 - workingjubilee:file-options, r=yaahc
[rust.git] / src / test / ui / type-alias-impl-trait / incoherent-assoc-imp-trait.rs
index c46c4715924e59439ba11f562da9504b1d4e606f..685d76ee36f33cb5f3a56a48dde128810e019540 100644 (file)
@@ -8,8 +8,7 @@ trait MyTrait {}
 impl MyTrait for () {}
 
 impl<F> FnOnce<()> for &F {
-    //~^ ERROR conflicting implementations
-    //~| ERROR type parameter `F` must be used
+    //~^ ERROR type parameter `F` must be used
     type Output = impl MyTrait;
     extern "rust-call" fn call_once(self, _: ()) -> Self::Output {}
 }