diff options
| author | Eric Holk <ericholk@microsoft.com> | 2024-04-12 10:19:23 -0700 |
|---|---|---|
| committer | Eric Holk <ericholk@microsoft.com> | 2024-05-13 11:27:26 -0700 |
| commit | ef6478ba5fde1a1ed6db27fc7f558bc26e38d781 (patch) | |
| tree | 5aa3810b035d94d717ce85e1c0010f2e2d566b06 /compiler/rustc_span/src | |
| parent | 030a12ce2b1ee42f2d8837b1b500fd9cf12ea191 (diff) | |
| download | rust-ef6478ba5fde1a1ed6db27fc7f558bc26e38d781.tar.gz rust-ef6478ba5fde1a1ed6db27fc7f558bc26e38d781.zip | |
Add expr_2021 nonterminal and feature flag
This commit adds a new nonterminal `expr_2021` in macro patterns, and `expr_fragment_specifier_2024` feature flag. For now, `expr` and `expr_2021` are treated the same, but in future PRs we will update `expr` to match to new grammar. Co-authored-by: Vincezo Palazzo <vincenzopalazzodev@gmail.com>
Diffstat (limited to 'compiler/rustc_span/src')
| -rw-r--r-- | compiler/rustc_span/src/symbol.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_span/src/symbol.rs b/compiler/rustc_span/src/symbol.rs index d41059e8c24..68b1b32baf2 100644 --- a/compiler/rustc_span/src/symbol.rs +++ b/compiler/rustc_span/src/symbol.rs @@ -782,6 +782,8 @@ symbols! { explicit_tail_calls, export_name, expr, + expr_2021, + expr_fragment_specifier_2024, extended_key_value_attributes, extended_varargs_abi_support, extern_absolute_paths, |
