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); )+ }