Skip to content

new lint: suggest ptr::eq() instead of "x as *const _ as usize == y as *const as usize" #3661

Closed
@matthiaskrgr

Description

@matthiaskrgr

Inspired by rust-lang/rust#57547
This looks like it could be a clippy lint :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-lintArea: New lintsL-styleLint: Belongs in the style lint groupgood first issueThese issues are a good way to get started with Clippy

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions