diff --git a/src/common.rs b/src/common.rs index 221a883..adda67c 100644 --- a/src/common.rs +++ b/src/common.rs @@ -176,7 +176,7 @@ impl Drop for ScopeGuard { pub(crate) mod private { // This is currently unused on macOS, so silence the warning which appears // since there's no extension traits making use of this trait sealing structure. - #[cfg_attr(target_vendor = "apple", allow(unreachable_pub))] + #[cfg_attr(target_vendor = "apple", allow(unreachable_pub, dead_code))] pub trait Sealed {} impl Sealed for crate::Get<'_> {}