Skip to content

Commit

Permalink
Auto merge of #2790 - Amanieu:fix-macro-rules-lint, r=Amanieu
Browse files Browse the repository at this point in the history
Allow unused macro rules
  • Loading branch information
bors committed May 16, 2022
2 parents cd99f68 + b3b81a7 commit affe51f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/macros.rs
Expand Up @@ -62,7 +62,7 @@ macro_rules! cfg_if {
};
}

#[allow(unused_macros)]
#[allow(unused_macros, unused_macro_rules)]
macro_rules! s {
($($(#[$attr:meta])* pub $t:ident $i:ident { $($field:tt)* })*) => ($(
s!(it: $(#[$attr])* pub $t $i { $($field)* });
Expand Down

0 comments on commit affe51f

Please sign in to comment.