From: Felix S. Klock II Date: Wed, 1 Apr 2015 20:33:37 +0000 (+0200) Subject: removed impls of `Neg` for `u{8,16,32,64,size}`. X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=a98e4713bff40f006d48d195c5af387b93d9c907;p=rust.git removed impls of `Neg` for `u{8,16,32,64,size}`. --- diff --git a/src/libcore/ops.rs b/src/libcore/ops.rs index e1a9efd69ad..277f7db8fd4 100644 --- a/src/libcore/ops.rs +++ b/src/libcore/ops.rs @@ -514,7 +514,7 @@ macro_rules! neg_impl_unsigned { }, $($t)*} } } -neg_impl_unsigned! { usize u8 u16 u32 u64 } +// neg_impl_unsigned! { usize u8 u16 u32 u64 } neg_impl_numeric! { isize i8 i16 i32 i64 f32 f64 } /// The `Not` trait is used to specify the functionality of unary `!`.