# HG changeset patch # User Tuomo Valkonen # Date 1746084508 18000 # Node ID fc7d923ff6e7133450b85280a2dbada205e9b2ef # Parent 07e487685b2933927dce507e56f3f4ec7b9ded9d another overflow 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()) + // } + // } }; }