1
Fork 0

libcore: #[allow] some unused macros

This commit is contained in:
est31 2017-05-12 08:21:13 +02:00
parent d14d194f61
commit ba0601d4b6
2 changed files with 2 additions and 0 deletions

View file

@ -12,6 +12,7 @@ use super::Wrapping;
use ops::*; use ops::*;
#[allow(unused_macros)]
macro_rules! sh_impl_signed { macro_rules! sh_impl_signed {
($t:ident, $f:ident) => ( ($t:ident, $f:ident) => (
#[stable(feature = "rust1", since = "1.0.0")] #[stable(feature = "rust1", since = "1.0.0")]

View file

@ -763,6 +763,7 @@ macro_rules! neg_impl_numeric {
($($t:ty)*) => { neg_impl_core!{ x => -x, $($t)*} } ($($t:ty)*) => { neg_impl_core!{ x => -x, $($t)*} }
} }
#[allow(unused_macros)]
macro_rules! neg_impl_unsigned { macro_rules! neg_impl_unsigned {
($($t:ty)*) => { ($($t:ty)*) => {
neg_impl_core!{ x => { neg_impl_core!{ x => {