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::*;
#[allow(unused_macros)]
macro_rules! sh_impl_signed {
($t:ident, $f:ident) => (
#[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)*} }
}
#[allow(unused_macros)]
macro_rules! neg_impl_unsigned {
($($t:ty)*) => {
neg_impl_core!{ x => {