Skip to content

Commit affe51f

Browse files
committed
Auto merge of #2790 - Amanieu:fix-macro-rules-lint, r=Amanieu
Allow unused macro rules
2 parents cd99f68 + b3b81a7 commit affe51f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/macros.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ macro_rules! cfg_if {
6262
};
6363
}
6464

65-
#[allow(unused_macros)]
65+
#[allow(unused_macros, unused_macro_rules)]
6666
macro_rules! s {
6767
($($(#[$attr:meta])* pub $t:ident $i:ident { $($field:tt)* })*) => ($(
6868
s!(it: $(#[$attr])* pub $t $i { $($field)* });

0 commit comments

Comments
 (0)