From da451f7195993fbf368b44660506e3897fc87eee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20Rakic?= Date: Mon, 1 Mar 2021 22:58:12 +0100 Subject: [PATCH] allow the constify_imm4 x86 macro to be unused --- library/stdarch/crates/core_arch/src/x86/macros.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/library/stdarch/crates/core_arch/src/x86/macros.rs b/library/stdarch/crates/core_arch/src/x86/macros.rs index c27ea7be1001..e659ac3da8ee 100644 --- a/library/stdarch/crates/core_arch/src/x86/macros.rs +++ b/library/stdarch/crates/core_arch/src/x86/macros.rs @@ -72,6 +72,7 @@ macro_rules! constify_imm6 { }; } +#[allow(unused_macros)] macro_rules! constify_imm4 { ($imm8:expr, $expand:ident) => { #[allow(overflowing_literals)]