Skip to content

Commit ba0601d

Browse files
committed
libcore: #[allow] some unused macros
1 parent d14d194 commit ba0601d

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/libcore/num/wrapping.rs

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ use super::Wrapping;
1212

1313
use ops::*;
1414

15+
#[allow(unused_macros)]
1516
macro_rules! sh_impl_signed {
1617
($t:ident, $f:ident) => (
1718
#[stable(feature = "rust1", since = "1.0.0")]

src/libcore/ops.rs

+1
Original file line numberDiff line numberDiff line change
@@ -763,6 +763,7 @@ macro_rules! neg_impl_numeric {
763763
($($t:ty)*) => { neg_impl_core!{ x => -x, $($t)*} }
764764
}
765765

766+
#[allow(unused_macros)]
766767
macro_rules! neg_impl_unsigned {
767768
($($t:ty)*) => {
768769
neg_impl_core!{ x => {

0 commit comments

Comments
 (0)