]> git.lizzy.rs Git - rust.git/commitdiff
libcore: #[allow] some unused macros
authorest31 <MTest31@outlook.com>
Fri, 12 May 2017 06:21:13 +0000 (08:21 +0200)
committerest31 <MTest31@outlook.com>
Sat, 13 May 2017 14:02:29 +0000 (16:02 +0200)
src/libcore/num/wrapping.rs
src/libcore/ops.rs

index 013f02685bad117149951d86e56b9c3f662d6f71..6cc374b13b7b3042257f13190f47f0bf95bdbd08 100644 (file)
@@ -12,6 +12,7 @@
 
 use ops::*;
 
+#[allow(unused_macros)]
 macro_rules! sh_impl_signed {
     ($t:ident, $f:ident) => (
         #[stable(feature = "rust1", since = "1.0.0")]
index 391b606f613f288970e7b74544d4e20e840eacb5..ca6438c0fa71534f6bdc5e73d815f344638f8561 100644 (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 => {