Skip to content

Commit

Permalink
Rollup merge of #123311 - Jules-Bertholet:andpat-everywhere, r=Nadrieril
Browse files Browse the repository at this point in the history
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
  • Loading branch information
GuillaumeGomez authored Apr 5, 2024
2 parents 94a1b1a + 078ac04 commit 35b90a6
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 35b90a6

Please sign in to comment.