rust/compiler/rustc_parse/src
bors 9b75a43881 Auto merge of #123865 - eholk:expr_2021, r=fmease
Update `expr` matcher for Edition 2024 and add `expr_2021` nonterminal

This commit adds a new nonterminal `expr_2021` in macro patterns, and `expr_fragment_specifier_2024` feature flag.

This change also updates `expr` so that on Edition 2024 it will also match `const { ... }` blocks, while `expr_2021` preserves the current behavior of `expr`, matching expressions without `const` blocks.

Joint work with `@vincenzopalazzo.`

Issue #123742
2024-05-17 21:54:14 +00:00
..
lexer narrow down visibilities in rustc_parse::lexer 2024-05-07 11:02:28 +08:00
parser Auto merge of #123865 - eholk:expr_2021, r=fmease 2024-05-17 21:54:14 +00:00
errors.rs Fix parse error message for meta items 2024-05-10 09:16:27 +02:00
lib.rs compiler: add Parser::debug_lookahead 2024-05-07 19:10:29 -07:00
validate_attr.rs Rename all ParseSess variables/fields/lifetimes as psess. 2024-03-05 08:11:45 +11:00