Allow unused macro rules for two macros (#1305)
This commit is contained in:
@@ -93,7 +93,7 @@ macro_rules! types {
|
|||||||
)*)
|
)*)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[allow(unused_macros)]
|
#[allow(unused)]
|
||||||
macro_rules! simd_shuffle2 {
|
macro_rules! simd_shuffle2 {
|
||||||
($x:expr, $y:expr, <$(const $imm:ident : $ty:ty),+ $(,)?> $idx:expr $(,)?) => {{
|
($x:expr, $y:expr, <$(const $imm:ident : $ty:ty),+ $(,)?> $idx:expr $(,)?) => {{
|
||||||
struct ConstParam<$(const $imm: $ty),+>;
|
struct ConstParam<$(const $imm: $ty),+>;
|
||||||
|
|||||||
@@ -356,6 +356,7 @@ mod sealed {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[allow(unknown_lints, unused_macro_rules)]
|
||||||
macro_rules! impl_vec_trait {
|
macro_rules! impl_vec_trait {
|
||||||
([$Trait:ident $m:ident] $fun:ident ($a:ty)) => {
|
([$Trait:ident $m:ident] $fun:ident ($a:ty)) => {
|
||||||
impl $Trait for $a {
|
impl $Trait for $a {
|
||||||
|
|||||||
Reference in New Issue
Block a user