]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/type-alias-impl-trait/issue-74280.rs
Auto merge of #95454 - randomicon00:fix95444, r=wesleywiser
[rust.git] / src / test / ui / type-alias-impl-trait / issue-74280.rs
index d5b90a49b05218641a7e1011b50976157ab313f0..ad641eaa00d38afa4721054eba06d8b81a1e86a2 100644 (file)
@@ -6,8 +6,7 @@
 
 fn test() -> Test {
     let y = || -> Test { () };
-    //~^ ERROR: concrete type differs from previous defining opaque type use
-    7
+    7 //~ ERROR mismatched types
 }
 
 fn main() {}