diff --git a/src/lib.rs b/src/lib.rs index def5dcf59..c4945816e 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -63,6 +63,7 @@ struct ArithmeticOverflow; macro_rules! impl_err_checked_arithmetic { ($($ty:ty),*) => { $( + #[allow(dead_code)] impl ErrCheckedArithmetic for $ty { fn err_checked_add(self, other: $ty) -> Result { self.checked_add(other).ok_or(ArithmeticOverflow)