about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-05-17 21:54:14 +0000
committerbors <bors@rust-lang.org>2024-05-17 21:54:14 +0000
commit9b75a4388143a163b77fa7d458e4aa4dd34ac1bd (patch)
tree4c8d8efca048351bbeea54551b0b5be141ffd17b /compiler/rustc_codegen_llvm/src
parent1a7397988684934ae01a71f524bdfff24895d8cc (diff)
parent3986ea0ea555ab6de8af46932da94c26aa1c28ee (diff)
downloadrust-9b75a4388143a163b77fa7d458e4aa4dd34ac1bd.tar.gz
rust-9b75a4388143a163b77fa7d458e4aa4dd34ac1bd.zip
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
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions