tor-netdoc: Allow suppressing unknown lints

We want to supress the unused_macro_rules lint in one place but it's
new in Nightly and this triggers yet another lint.
This commit is contained in:
Ian Jackson 2022-05-27 17:33:48 +01:00
parent 1f067c0237
commit 0173fce2e9
1 changed files with 2 additions and 0 deletions

View File

@ -1,5 +1,7 @@
//! Declares macros to help implementing parsers. //! Declares macros to help implementing parsers.
#![allow(unknown_lints)]
/// Macro for declaring a keyword enumeration to help parse a document. /// Macro for declaring a keyword enumeration to help parse a document.
/// ///
/// A keyword enumeration implements the Keyword trait. /// A keyword enumeration implements the Keyword trait.