mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 14:55:26 +00:00
332f8f73ea
dead_code treats #[repr(transparent)] the same as #[repr(C)] In #92972 we enabled linting on unused fields in tuple structs. In #118297 that lint was enabled by default. That exposed issues like #119659, where the fields of a struct marked `#[repr(transparent)]` were reported by the `dead_code` lint. The language team [decided](https://github.com/rust-lang/rust/issues/119659#issuecomment-1885172045) that the lint should treat `repr(transparent)` the same as `#[repr(C)]`. Fixes #119659 |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
messages.ftl |