fix: temporary attribute to prevent clippy warnings (#9922)

This commit is contained in:
Federico Gimenez
2024-07-31 11:25:08 +02:00
committed by GitHub
parent a90fc90df8
commit 893bb2d7df

View File

@ -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>]<FIRST, SECOND = (), THIRD = ()>(Mask<FIRST, SECOND, THIRD>);
)+
}