Prevent calling stack closures through immutable & pointers. #7836
Labels
A-lifetimes
Area: Lifetimes / regions
A-type-system
Area: Type system
I-crash
Issue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.
Milestone
This is the last hole left over in the "case of the recurring closure" problem which was mostly but not quite fixed by #7363.
This program should be illegal (it isn't itself soundness-breaking, but isn't far from it):
Nominating backwards-compatible.
The text was updated successfully, but these errors were encountered: