--- thunderbird-102.11.1/third_party/rust/mp4parse/src/lib.rs.mp4parse-rust-8b5b652d38e007e736bb442ccd5aa5ed699db100 2023-05-24 00:50:52.000000000 +0200 +++ thunderbird-102.11.1/third_party/rust/mp4parse/src/lib.rs 2023-06-08 14:17:40.193695212 +0200 @@ -3184,8 +3184,13 @@ macro_rules! impl_mul { type Output = $output; fn mul(self, rhs: $rhs) -> Self::Output { - static_assertions::const_assert!(<$output>::MAX <= <$inner>::MAX as u64); - static_assertions::const_assert!(<$lhs>::MAX * <$rhs>::MAX <= <$output>::MAX); + static_assertions::const_assert!( + <$output as UpperBounded>::MAX <= <$inner>::MAX as u64 + ); + static_assertions::const_assert!( + <$lhs as UpperBounded>::MAX * <$rhs as UpperBounded>::MAX + <= <$output as UpperBounded>::MAX + ); let lhs: $inner = self.get().into(); let rhs: $inner = rhs.get().into();