Skip to content

lint: transmuting known null pointer to ref  #628

Open
@llogiq

Description

@llogiq

mem::transmute(std::ptr::null()) – this is undefined behavior.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-lintArea: New lintsT-ASTType: Requires working with the ASTgood 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