Skip to content

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

Description

@sivadeilra

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions