diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2024-04-05 16:38:50 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-05 16:38:50 +0200 |
| commit | f2f8d8b722fdacc6a6e02c2289e3e36571749a68 (patch) | |
| tree | 8c31db33f4f81a9558f8d62ce9af69a111ead861 /compiler/rustc_span/src | |
| parent | c36c0095776f1cbc39d15a206b4b1018b329b4aa (diff) | |
| parent | e5376f3947ba8faf0f7c3a9543366060d662357d (diff) | |
| download | rust-f2f8d8b722fdacc6a6e02c2289e3e36571749a68.tar.gz rust-f2f8d8b722fdacc6a6e02c2289e3e36571749a68.zip | |
Rollup merge of #123311 - Jules-Bertholet:andpat-everywhere, r=Nadrieril
Match ergonomics: implement "`&`pat everywhere" Implements the eat-two-layers (feature gate `and_pat_everywhere`, all editions) ~and the eat-one-layer (feature gate `and_eat_one_layer_2024`, edition 2024 only, takes priority on that edition when both feature gates are active)~ (EDIT: will be done in later PR) semantics. cc #123076 r? ``@Nadrieril`` ``@rustbot`` label A-patterns A-edition-2024
Diffstat (limited to 'compiler/rustc_span/src')
| -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 a13c9c9b278..ea0f7adf6f9 100644 --- a/compiler/rustc_span/src/symbol.rs +++ b/compiler/rustc_span/src/symbol.rs @@ -1456,6 +1456,7 @@ symbols! { receiver, recursion_limit, reexport_test_harness_main, + ref_pat_everywhere, ref_unwind_safe_trait, reference, reflect, |
