Skip to content

Commit 997ecfe

Browse files
authored
macros: allow unused rules
1 parent f006127 commit 997ecfe

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

hal/src/fmt.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
//
44
// This enables the optional use of defmt
55
#![macro_use]
6-
#![allow(unused_macros)]
6+
#![allow(unused_macros, unknown_lints, unused_macro_rules)]
77

88
macro_rules! assert {
99
($($x:tt)*) => {

hal/src/macros.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#![macro_use]
2+
#![allow(unknown_lints, unused_macro_rules)]
23

34
macro_rules! typestate {
45
($name:ident, $doc:expr) => {

0 commit comments

Comments
 (0)