We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 16087ee commit a65b51bCopy full SHA for a65b51b
library/alloc/src/boxed/thin.rs
@@ -171,7 +171,7 @@ 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
-struct WithOpaqueHeader(NonNull<u8>);
+struct WithOpaqueHeader(#[allow(unused_tuple_struct_fields)] NonNull<u8>);
175
176
impl WithOpaqueHeader {
177
#[cfg(not(no_global_oom_handling))]
0 commit comments