@@ -80,39 +80,6 @@ impl<T: fmt::UpperHex> fmt::UpperHex for Saturating<T> {
8080 }
8181}
8282
83- #[ allow( unused_macros) ]
84- macro_rules! sh_impl_signed {
85- ( $t: ident, $f: ident) => {
86-
87- } ;
88- }
89-
90- macro_rules! sh_impl_unsigned {
91- ( $t: ident, $f: ident) => {
92-
93- } ;
94- }
95-
96- // FIXME (#23545): uncomment the remaining impls
97- macro_rules! sh_impl_all {
98- ( $( $t: ident) * ) => ( $(
99- //sh_impl_unsigned! { $t, u8 }
100- //sh_impl_unsigned! { $t, u16 }
101- //sh_impl_unsigned! { $t, u32 }
102- //sh_impl_unsigned! { $t, u64 }
103- //sh_impl_unsigned! { $t, u128 }
104- sh_impl_unsigned! { $t, usize }
105-
106- //sh_impl_signed! { $t, i8 }
107- //sh_impl_signed! { $t, i16 }
108- //sh_impl_signed! { $t, i32 }
109- //sh_impl_signed! { $t, i64 }
110- //sh_impl_signed! { $t, i128 }
111- //sh_impl_signed! { $t, isize }
112- ) * )
113- }
114-
115- sh_impl_all ! { u8 u16 u32 u64 u128 usize i8 i16 i32 i64 i128 isize }
11683
11784// FIXME(30524): impl Op<T> for Saturating<T>, impl OpAssign<T> for Saturating<T>
11885macro_rules! saturating_impl {
0 commit comments