Allow unused macro rules for two macros (#1305)
This commit is contained in:
parent
f6cf8d45b0
commit
cf471eb26e
2 changed files with 2 additions and 1 deletions
|
|
@ -93,7 +93,7 @@ macro_rules! types {
|
|||
)*)
|
||||
}
|
||||
|
||||
#[allow(unused_macros)]
|
||||
#[allow(unused)]
|
||||
macro_rules! simd_shuffle2 {
|
||||
($x:expr, $y:expr, <$(const $imm:ident : $ty:ty),+ $(,)?> $idx:expr $(,)?) => {{
|
||||
struct ConstParam<$(const $imm: $ty),+>;
|
||||
|
|
|
|||
|
|
@ -356,6 +356,7 @@ mod sealed {
|
|||
|
||||
}
|
||||
|
||||
#[allow(unknown_lints, unused_macro_rules)]
|
||||
macro_rules! impl_vec_trait {
|
||||
([$Trait:ident $m:ident] $fun:ident ($a:ty)) => {
|
||||
impl $Trait for $a {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue