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
Description
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.