Skip to content

Commit 7c518c7

Browse files
committed
Auto merge of #336 - JustForFun88:unused_macros, r=Amanieu
Allow unused macro rules for macro `cfg_if`. The unused macro rules lint is an new lint for the rust compiler: [rust-lang/rust#96150](rust-lang/rust#96150)
2 parents 3b0a211 + 9a3f7a3 commit 7c518c7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/macros.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// See the cfg-if crate.
2+
#[allow(unused_macro_rules)]
23
macro_rules! cfg_if {
34
// match if/else chains with a final `else`
45
($(

0 commit comments

Comments
 (0)