Skip to content

Tracking issue for borrows outliving owners with destructors #33206

Closed
@pnkfelix

Description

@pnkfelix

This is a tracking issue for a planned fix for issue #31567

Any fix for #31567 is going to be a breaking change; thus, in accordance with existing policy (and draft RFC rust-lang/rfcs#1589 ) I am planning to have the change emit warnings at first, and then after a warning cycle, we can upgrade it to an error.

So, I'm grabbing this issue now while I am working on the fix, so that my warning/error messages can reference a stable URL.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions