Skip to content

Commit

Permalink
fix(macros/msg): allow unknown_lints
Browse files Browse the repository at this point in the history
  • Loading branch information
loyd committed Feb 27, 2024
1 parent b0de101 commit 9d413e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions elfo-macros-impl/src/msg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand All @@ -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)]
Expand Down

0 comments on commit 9d413e5

Please sign in to comment.