rust/compiler/rustc_mir_build/src
Matthias Krüger b2c933a1b9
Rollup merge of #121715 - Nadrieril:testcase-or, r=matthewjasper
match lowering: pre-simplify or-patterns too

This is the final part of my work to simplify match pairs early: now we do it for or-patterns too. This makes it possible to collect fake borrows separately from the main match lowering algorithm. That'll enable more simplifications of or-pattern handling.

Note: I was tempted to have `Candidate` contain a `FlatPat`, but there are so many places that use `candidate.match_pairs` etc directly that I chose not to.

r? `@matthewjasper`
2024-03-02 10:09:35 +01:00
..
build Rollup merge of #121715 - Nadrieril:testcase-or, r=matthewjasper 2024-03-02 10:09:35 +01:00
thir Auto merge of #121728 - tgross35:f16-f128-step1-ty-updates, r=compiler-errors 2024-03-01 03:36:11 +00:00
check_unsafety.rs Rename DiagnosticArg{,Map,Name,Value} as DiagArg{,Map,Name,Value}. 2024-02-28 08:55:37 +11:00
errors.rs Rename DiagnosticArg{,Map,Name,Value} as DiagArg{,Map,Name,Value}. 2024-02-28 08:55:37 +11:00
lib.rs Remove unnecessary min_specialization after bootstrap 2024-02-10 18:15:11 +11:00
lints.rs Fix an ICE in the recursion lint 2024-02-16 09:29:39 +00:00