ring icon indicating copy to clipboard operation
ring copied to clipboard

Rust 1.77 issues false positive `dead_code` warnings for `#[repr(transparent)]` structs.

Open briansmith opened this issue 7 months ago • 0 comments

See https://github.com/rust-lang/rust/issues/119659. This affects all the #[repr(transparent)] tuple structs like N0 where the field is actually used by C or assembly code, but not by Rust code.

briansmith avatar Jan 16 '24 01:01 briansmith