tor-netdoc: Suppress new "unused_macro_rules" lint in one place
The compiler can apparently tell that we aren't generating compile errors! Also that we're not yet using a feature provided here. (New lint in currently Nightly.)
This commit is contained in:
parent
c5e9b81374
commit
1f067c0237
|
@ -21,6 +21,7 @@
|
|||
/// assert_eq!(Location::from_str("start"), Location::START);
|
||||
/// assert_eq!(Location::from_str("stfff"), Location::UNRECOGNIZED);
|
||||
/// ```
|
||||
#[allow(unused_macro_rules)]
|
||||
macro_rules! decl_keyword {
|
||||
{ $(#[$meta:meta])* $v:vis
|
||||
$name:ident { $( $($anno:ident)? $($s:literal)|+ => $i:ident),* $(,)? } } => {
|
||||
|
|
Loading…
Reference in New Issue