diff -r 07e487685b29 -r fc7d923ff6e7 src/direct_product.rs
--- a/src/direct_product.rs Thu May 01 02:13:44 2025 -0500
+++ b/src/direct_product.rs Thu May 01 02:28:28 2025 -0500
@@ -53,17 +53,18 @@
}
}
- impl<'a, A, B> $trait for &'a Pair
- where
- &'a A: $trait,
- &'a B: $trait,
- {
- type Output = Pair<<&'a A as $trait>::Output, <&'a B as $trait>::Output>;
- fn $fn(self) -> Self::Output {
- let Pair(ref a, ref b) = self;
- Pair(a.$fn(), b.$fn())
- }
- }
+ // Compiler overflow
+ // impl<'a, A, B> $trait for &'a Pair
+ // where
+ // &'a A: $trait,
+ // &'a B: $trait,
+ // {
+ // type Output = Pair<<&'a A as $trait>::Output, <&'a B as $trait>::Output>;
+ // fn $fn(self) -> Self::Output {
+ // let Pair(ref a, ref b) = self;
+ // Pair(a.$fn(), b.$fn())
+ // }
+ // }
};
}