Skip to content

replace empty destructors with NonCopyable #7427

Closed
@thestinger

Description

@thestinger

The NonCopyable unit struct is now zero-size via #[unsafe_no_drop_flag], so it's the cleanest way to do this.

This could potentially be a lint warning, with a suggestion.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-lintsArea: Lints (warnings about flaws in source code) such as unused_mut.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.I-slowIssue: Problems and improvements with respect to performance of generated code.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions