]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/impl-trait/projection-mismatch-in-impl-where-clause.rs
Rollup merge of #105555 - krasimirgg:llvm-int-opt-2, r=cuviper
[rust.git] / src / test / ui / impl-trait / projection-mismatch-in-impl-where-clause.rs
index 2e7cb21592cb0b714cfacf8a28d7c3b3ce3a859d..b4fd6b3e74364d45c81e926c63f4f09213202236 100644 (file)
@@ -11,8 +11,8 @@ pub trait Test {}
 impl<T> Test for T where T: Super<Assoc = ()> {}
 
 fn test() -> impl Test {
-    ()
     //~^ERROR type mismatch resolving `<() as Super>::Assoc == ()`
+    ()
 }
 
 fn main() {