rust/compiler/rustc_parse/src
Jacob Pratt f49d69093e
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.
2025-08-21 17:57:52 -04:00
..
lexer ignore frontmatters in TokenStream::new 2025-08-18 20:28:29 +08:00
parser Rollup merge of #145604 - compiler-errors:static-closure, r=fmease 2025-08-21 17:57:52 -04:00
errors.rs Rollup merge of #145474 - fmease:paren-use-bounds-fix, r=fee1-dead 2025-08-19 19:45:33 +08:00
lib.rs ignore frontmatters in TokenStream::new 2025-08-18 20:28:29 +08:00
validate_attr.rs Add link to docs on malformed attributes 2025-08-11 16:00:49 +00:00