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

rustc nightly (2024-06-06+) flags unused-qualifications in a way that is not backward compatible #3076

Closed
sivadeilra opened this issue Jun 6, 2024 · 0 comments · Fixed by #3074
Labels
bug Something isn't working

Comments

@sivadeilra
Copy link
Collaborator

Summary

On 6/5/2024, PR jobs started failing due to new warnings added in Rust nightly. The warnings suggest replacing core::mem::size_of with simply size_of because core::mem::size_of has been added to the standard prelude. However, making this change would break existing code when using pre-1.80.0 compilers, so the only good fix is to add use core::mem::size_of in lots of places.

I'm opening this issue to track the problem and to have a place to link PRs that work around the problem in the short term.

Crate manifest

No response

Crate code

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant