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:
Ian Jackson 2022-05-27 16:41:57 +01:00
parent c5e9b81374
commit 1f067c0237
1 changed files with 1 additions and 0 deletions

View File

@ -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),* $(,)? } } => {