From fb9228b7fd22ada0e4c47636701450ecbc5590b5 Mon Sep 17 00:00:00 2001 From: Quaternions Date: Mon, 9 Sep 2024 15:33:07 -0700 Subject: [PATCH] silence warning --- fixed_wide/src/fixed.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fixed_wide/src/fixed.rs b/fixed_wide/src/fixed.rs index 561b26f..0bbb23d 100644 --- a/fixed_wide/src/fixed.rs +++ b/fixed_wide/src/fixed.rs @@ -142,6 +142,8 @@ impl_additive_operator!( Fixed, BitXor, bitxor, Self ); // non-wide operators. The result is the same width as the inputs. +// This macro is not used in the default configuration. +#[allow(unused_macros)] macro_rules! impl_multiplicative_operator_not_const_generic { ( ($struct: ident, $trait: ident, $method: ident, $output: ty ), $width:expr ) => { impl core::ops::$trait for $struct<$width,F>{