Skip to content

Commit de2600c

Browse files
committed
Allow unused macro rules for macro cfg_if.
The unused macro rules lint is an upcoming lint for the rust compiler: [rust-lang/rust#96150](rust-lang/rust#96150)
1 parent 3b0a211 commit de2600c

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)]
23
macro_rules! cfg_if {
34
// match if/else chains with a final `else`
45
($(

0 commit comments

Comments
 (0)