On Fri, Jan 23, 2026 at 6:07 AM Gary Guo <[email protected]> wrote:
>
> I wonder if it makes sense to request a feature to mute `dead_code` lint on
> certain types which we know are there to represent a registration or resource
> enablement.
>
> Currently rustc's dead_code lint has a builtin exception for `PhantomData`, 
> but
> I think a lot other types should have the same treatment, this can be useful
> even for other core types, e.g `PhantomPinned`.

Added to https://github.com/Rust-for-Linux/linux/issues/355.

Cheers,
Miguel

Reply via email to