Skip to content
This repository was archived by the owner on Apr 5, 2024. It is now read-only.
This repository was archived by the owner on Apr 5, 2024. It is now read-only.

Make closures inherit their parent's "safety context" #9

Closed
rust-lang/rust
#85607
@LeSeulArtichaut

Description

@LeSeulArtichaut

Checking unsafety for closures should be handled by their parent body, as closures inherit their "safety context" from their declaration site.

Blocked on rust-lang/rust#85273.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions