about summary refs log tree commit diff
path: root/compiler/rustc_span
diff options
context:
space:
mode:
authorJules Bertholet <julesbertholet@quoi.xyz>2024-06-26 17:01:04 -0400
committerJules Bertholet <julesbertholet@quoi.xyz>2024-06-27 00:12:24 -0400
commit372847dd4447bcb5a8c3595f70fd88002a580cbd (patch)
tree1d1c7ec2713e566ff06e8986674454b6f166f7f5 /compiler/rustc_span
parent4bc39f028d14c24b04dd17dc425432c6ec354536 (diff)
downloadrust-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.rs1
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,