rust/compiler/rustc_mir_build/src
Guillaume Gomez f2f8d8b722
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
2024-04-05 16:38:50 +02:00
..
build Rollup merge of #123324 - Nadrieril:false-edges2, r=matthewjasper 2024-04-04 14:51:16 +02:00
thir Rollup merge of #123311 - Jules-Bertholet:andpat-everywhere, r=Nadrieril 2024-04-05 16:38:50 +02:00
check_unsafety.rs Remove MIR unsafe check 2024-04-03 08:50:12 +00:00
errors.rs Fix suggestions for match non-exhaustiveness 2024-04-02 19:06:28 -04:00
lib.rs Auto merge of #122721 - oli-obk:merge_queries, r=davidtwco 2024-03-25 01:33:46 +00:00
lints.rs Change InlineAsm to allow multiple targets instead 2024-02-24 18:50:09 +00:00