Skip to content

rename #[no_drop_flag] to #[unsafe_no_drop_flag] #7428

Closed
@thestinger

Description

@thestinger

Since it zeroes the whole struct regardless of the contained types, it's not safe. The fields can be accessed by safe code in the destructor. This is working as intended, but it should be more clear.

Metadata

Metadata

Assignees

No one assigned

    Labels

    E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions