diff options
| author | est31 <MTest31@outlook.com> | 2017-05-12 08:21:13 +0200 |
|---|---|---|
| committer | est31 <MTest31@outlook.com> | 2017-05-13 16:02:29 +0200 |
| commit | ba0601d4b6b3a84cb7e8c2781b71491c17abb910 (patch) | |
| tree | 5014616b66da90d62baac0ec9f23256318e07a11 | |
| parent | d14d194f61bfd775411c2450e1d939bbb06542b9 (diff) | |
| download | rust-ba0601d4b6b3a84cb7e8c2781b71491c17abb910.tar.gz rust-ba0601d4b6b3a84cb7e8c2781b71491c17abb910.zip | |
libcore: #[allow] some unused macros
| -rw-r--r-- | src/libcore/num/wrapping.rs | 1 | ||||
| -rw-r--r-- | src/libcore/ops.rs | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/libcore/num/wrapping.rs b/src/libcore/num/wrapping.rs index 013f02685ba..6cc374b13b7 100644 --- a/src/libcore/num/wrapping.rs +++ b/src/libcore/num/wrapping.rs @@ -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")] diff --git a/src/libcore/ops.rs b/src/libcore/ops.rs index 391b606f613..ca6438c0fa7 100644 --- a/src/libcore/ops.rs +++ b/src/libcore/ops.rs @@ -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 => { |
