Rollup merge of #145604 - compiler-errors:static-closure, r=fmease
Gate static closures behind a parser feature I'd like to gate `static ||` closures behind a feature gate, since we shouldn't allow people to take advantage of this syntax if it's currently unstable. Right now, since it's only rejected after ast lowering, it's accessible to macros. Let's crater this to see if we can claw it back without breaking anyone's code.
J
Jacob Pratt committed
f49d69093ec31583b055615bb07e056fc9fc0ee3
Committed by GitHub <noreply@github.com>
on 8/21/2025, 9:57:52 PM