]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/type-alias-impl-trait/issue-60371.rs
Auto merge of #95454 - randomicon00:fix95444, r=wesleywiser
[rust.git] / src / test / ui / type-alias-impl-trait / issue-60371.rs
index badf35484f3604c737c38b56a64c575f34b4d988..9a40f3d9b64ead7c88db041a16a4021f2e9aeb4f 100644 (file)
@@ -9,7 +9,6 @@ impl Bug for &() {
 
     const FUN: fn() -> Self::Item = || ();
     //~^ ERROR the trait bound `(): Bug` is not satisfied
-    //~| ERROR non-defining opaque type use in defining scope
 }
 
 fn main() {}