From 9d413e5aa7bface9746cc0ed54bb2154130cf9c7 Mon Sep 17 00:00:00 2001 From: Paul Loyd Date: Tue, 27 Feb 2024 08:32:42 +0100 Subject: [PATCH] fix(macros/msg): allow unknown_lints --- elfo-macros-impl/src/msg.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/elfo-macros-impl/src/msg.rs b/elfo-macros-impl/src/msg.rs index 25f0d017..c2810e35 100644 --- a/elfo-macros-impl/src/msg.rs +++ b/elfo-macros-impl/src/msg.rs @@ -249,7 +249,7 @@ pub fn msg_impl(input: proc_macro::TokenStream, path_to_elfo: Path) -> proc_macr <#path as MustBeRegularNotRequest<_, _>>::test(&#envelope_ident) } - #[allow(clippy::blocks_in_conditions)] + #[allow(unknown_lints, clippy::blocks_in_conditions)] match { // Support both owned and borrowed contexts, relying on the type inference. #[allow(unused_imports)] @@ -273,7 +273,7 @@ pub fn msg_impl(input: proc_macro::TokenStream, path_to_elfo: Path) -> proc_macr must_be_request::<#path>(); } - #[allow(clippy::blocks_in_conditions)] + #[allow(unknown_lints, clippy::blocks_in_conditions)] match { // Only the owned context is supported. #[allow(unused_imports)]