Skip to content

Commit 18916ad

Browse files
authored
Allow unused macro rules for two macros (#1305)
1 parent 4ae38a1 commit 18916ad

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

crates/core_arch/src/macros.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ macro_rules! types {
9393
)*)
9494
}
9595

96-
#[allow(unused_macros)]
96+
#[allow(unused)]
9797
macro_rules! simd_shuffle2 {
9898
($x:expr, $y:expr, <$(const $imm:ident : $ty:ty),+ $(,)?> $idx:expr $(,)?) => {{
9999
struct ConstParam<$(const $imm: $ty),+>;

crates/core_arch/src/powerpc/altivec.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -356,6 +356,7 @@ mod sealed {
356356

357357
}
358358

359+
#[allow(unknown_lints, unused_macro_rules)]
359360
macro_rules! impl_vec_trait {
360361
([$Trait:ident $m:ident] $fun:ident ($a:ty)) => {
361362
impl $Trait for $a {

0 commit comments

Comments
 (0)