]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/type-alias-impl-trait/nested-tait-inference.rs
Auto merge of #95454 - randomicon00:fix95444, r=wesleywiser
[rust.git] / src / test / ui / type-alias-impl-trait / nested-tait-inference.rs
index 314e5362a8f2c1182da25d4652fb7e17d7e38312..82248971692ce4e5ab2e41abfebceda7000e205d 100644 (file)
@@ -11,7 +11,6 @@ impl Foo<()> for () { }
 
 fn foo() -> impl Foo<FooX> {
     //~^ ERROR: the trait bound `(): Foo<FooX>` is not satisfied
-    //~| ERROR: the trait bound `(): Foo<FooX>` is not satisfied
     // FIXME(type-alias-impl-trait): We could probably make this work.
     ()
 }