Skip to content

const_err warns about casting bytestring to raw pointer #33452

@Ms2ger

Description

@Ms2ger

In particular, b"TouchList\0" as *const u8. We can't use as_ptr() because it's in a const context.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions