From 893bb2d7df49f4b7dfb8f5cc3d6fa4a673439ad3 Mon Sep 17 00:00:00 2001 From: Federico Gimenez Date: Wed, 31 Jul 2024 11:25:08 +0200 Subject: [PATCH] fix: temporary attribute to prevent clippy warnings (#9922) --- crates/storage/db/src/static_file/mask.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/crates/storage/db/src/static_file/mask.rs b/crates/storage/db/src/static_file/mask.rs index f5d35a193d..61fef697e1 100644 --- a/crates/storage/db/src/static_file/mask.rs +++ b/crates/storage/db/src/static_file/mask.rs @@ -26,6 +26,9 @@ macro_rules! add_segments { $( #[doc = concat!("Mask for ", stringify!($segment), " static file segment. See [`Mask`] for more.")] #[derive(Debug)] + // TODO: remove next attribute when nightly is fixed (ie. does + // not return wrong warnings for never constructed structs). + #[allow(dead_code)] pub struct [<$segment Mask>](Mask); )+ }