libcore: #[allow] some unused macros
This commit is contained in:
parent
d14d194f61
commit
ba0601d4b6
2 changed files with 2 additions and 0 deletions
|
@ -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")]
|
||||||
|
|
|
@ -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 => {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue