Skip to content

Put #[unsafe_destructor] behind a feature gate #14937

Closed
@pcwalton

Description

@pcwalton

I propose putting #[unsafe_destructor] behind a feature gate because it's definitely not what we want to do long-term. This would also essentially solve #8142.

Nominating for 1.0, P-backcompat-lang.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-destructorsArea: Destructors (`Drop`, …)

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions