From 6e2ce2cb5b25e9c052317dfa585648d26e94a32f Mon Sep 17 00:00:00 2001 From: Aaron Hill Date: Thu, 12 May 2022 22:18:36 -0400 Subject: [PATCH] Allow new `unused_macro_rules` lint on `declare_properties` This was recently added in https://github.com/rust-lang/rust/pull/96150 Some of the `__version` rules are currently unused, but I assume that we still want to keep them for potential future use. --- core/src/avm1/property_decl.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/avm1/property_decl.rs b/core/src/avm1/property_decl.rs index 268b84ac96ae..3d7321dbcf95 100644 --- a/core/src/avm1/property_decl.rs +++ b/core/src/avm1/property_decl.rs @@ -128,6 +128,7 @@ impl Declaration { /// "hidden" => string("shh!"; DONT_ENUM | DONT_DELETE | READ_ONLY); /// }; /// ``` +#[allow(unused_macro_rules)] macro_rules! declare_properties { ( $($name:literal => $kind:ident($($args:tt)*);)* ) => { &[ $(