diff options
| author | Jules Bertholet <julesbertholet@quoi.xyz> | 2024-06-26 17:01:04 -0400 |
|---|---|---|
| committer | Jules Bertholet <julesbertholet@quoi.xyz> | 2024-06-27 00:12:24 -0400 |
| commit | 372847dd4447bcb5a8c3595f70fd88002a580cbd (patch) | |
| tree | 1d1c7ec2713e566ff06e8986674454b6f166f7f5 /compiler/rustc_span | |
| parent | 4bc39f028d14c24b04dd17dc425432c6ec354536 (diff) | |
| download | rust-372847dd4447bcb5a8c3595f70fd88002a580cbd.tar.gz rust-372847dd4447bcb5a8c3595f70fd88002a580cbd.zip | |
Implement TC's match ergonomics 2024 proposal
Under gate `ref_pat_eat_one_layer_2024_structural`. Enabling `ref_pat_eat_one_layer_2024` at the same time allows the union of what the individual gates allow.
Diffstat (limited to 'compiler/rustc_span')
| -rw-r--r-- | compiler/rustc_span/src/symbol.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_span/src/symbol.rs b/compiler/rustc_span/src/symbol.rs index 6d4a8c29bc9..7cd5e4f7ce4 100644 --- a/compiler/rustc_span/src/symbol.rs +++ b/compiler/rustc_span/src/symbol.rs @@ -1502,6 +1502,7 @@ symbols! { recursion_limit, reexport_test_harness_main, ref_pat_eat_one_layer_2024, + ref_pat_eat_one_layer_2024_structural, ref_pat_everywhere, ref_unwind_safe_trait, reference, |
