We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
allow(dead_code)
1 parent d95d6ce commit fb7762bCopy full SHA for fb7762b
library/alloc/src/boxed/thin.rs
@@ -171,7 +171,6 @@ struct WithHeader<H>(NonNull<u8>, PhantomData<H>);
171
/// An opaque representation of `WithHeader<H>` to avoid the
172
/// projection invariance of `<T as Pointee>::Metadata`.
173
#[repr(transparent)]
174
-#[allow(dead_code)] // Field only used through `WithHeader` type above.
175
struct WithOpaqueHeader(NonNull<u8>);
176
177
impl WithOpaqueHeader {
0 commit comments