Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
briansmith opened this issue Jan 16, 2024 · 2 comments

Comments

@briansmith
Copy link
Owner

See rust-lang/rust#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.

@riking
Copy link

riking commented Mar 5, 2024

Upstream issue is fixed

@briansmith
Copy link
Owner Author

Thanks. It seems l already made the code changes to revert the workaround so there's nothing left to do here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants