about summary refs log tree commit diff
path: root/compiler/rustc_mir_build/src/builder/matches/mod.rs
AgeCommit message (Expand)AuthorLines
2025-09-01Auto merge of #144783 - folkertdev:loop-match-diverging-loop, r=SparrowLiibors-1/+1
2025-08-14Apply suggestions from code reviewRalf Jung-2/+2
2025-08-14shrink TestBranch::Constant and PatRangeBoundary::FiniteRalf Jung-3/+3
2025-08-14use ty::Value instead of manual pairs of types and valtreesRalf Jung-5/+4
2025-08-14pattern testing: store constants as valtreesRalf Jung-7/+8
2025-08-14PatKind: store constants as valtreesRalf Jung-1/+1
2025-08-10add place mention for `#[loop_match]` scrutineeFolkert de Vries-1/+1
2025-08-09Auto merge of #143376 - dianne:guard-scope, r=matthewjasperbors-37/+43
2025-08-08Rollup merge of #144999 - Zalathar:remove-mcdc, r=oli-obkStuart Cook-8/+2
2025-08-07only introduce a guard scope for arms with guardsdianne-4/+6
2025-08-07add a scope for `if let` guard temporaries and bindingsdianne-37/+41
2025-08-07Rollup merge of #143764 - dianne:primary-binding-drop-order, r=Nadrieril,trav...Stuart Cook-36/+97
2025-08-07Rollup merge of #143028 - dianne:let-else-storage, r=oli-obk,traviscrossStuart Cook-44/+8
2025-08-06lower bindings in the order they're writtendianne-8/+74
2025-08-06base drop order on the first sub-branchdianne-9/+3
2025-08-06don't schedule unnecessary drops when lowering or-patternsdianne-28/+29
2025-08-06coverage: Remove all unstable support for MC/DC instrumentationZalathar-8/+2
2025-07-01loop match: handle opaque patternsFolkert de Vries-2/+4
2025-06-29mir: Add a `new` method to `statement`dianqk-8/+8
2025-06-25emit `StorageLive` and schedule `StorageDead` for `let`-`else` after matchingdianne-44/+8
2025-06-23Add `#[loop_match]` for improved DFA codegenbjorn3-9/+135
2025-03-28Add `{ast,hir,thir}::PatKind::Missing` variants.Nicholas Nethercote-0/+1
2025-03-26Rollup merge of #138959 - meithecatte:matchpair-place-option, r=ZalatharStuart Cook-2/+10
2025-03-26Rollup merge of #138818 - khuey:138198, r=jieyouxuStuart Cook-16/+42
2025-03-26MatchPairTree: update invariant commentMaja Kądziołka-2/+2
2025-03-26Revert "Make `MatchPairTree::place` non-optional"Maja Kądziołka-2/+10
2025-03-21match lowering cleanup: `non_scalar_compare` is only for `&str`dianne-2/+2
2025-03-21Don't produce debug information for compiler-introduced-vars when desugaring ...Kyle Huey-16/+42
2025-03-16Build `UserTypeProjections` lazily when visiting bindingsZalathar-30/+36
2025-03-16Split `visit_primary_bindings` into two variantsZalathar-23/+42
2025-03-16Simplify handling of `visibility_scope` in `declare_bindings`Zalathar-6/+4
2025-03-05Make `MatchPairTree::place` non-optionalZalathar-10/+2
2025-03-05Remove the separate simplify step for match-pair treesZalathar-10/+13
2025-03-05Remove `TestCase::Irrefutable`Zalathar-14/+3
2025-03-05Populate pattern bindings/ascriptions while building `MatchPairTree`Zalathar-5/+3
2025-03-05Make `MatchPairTree::for_pattern` push its output node to a vectorZalathar-1/+2
2025-02-21Rollup merge of #137305 - nnethercote:rustc_middle-2, r=lcnrMatthias Krüger-1/+1
2025-02-21Rename `ClearCrossCrate::assert_crate_local`.Nicholas Nethercote-1/+1
2025-02-20Don't store a redundant span in user-type projectionsZalathar-2/+1
2025-02-20Avoid a useless clone of `UserTypeProjection`Zalathar-5/+2
2025-02-08Rustfmtbjorn3-45/+66
2025-02-03Slightly simplify the signature of `lower_match_arms`Zalathar-10/+8
2025-02-03Remove some non-trivial `box` patternsZalathar-12/+8
2025-02-03Remove `'pat` lifetime from some match-lowering data structuresZalathar-59/+55
2025-01-22modify commentShunpoco-1/+1
2025-01-22address review: modify matches/mod.rsShunpoco-4/+9
2025-01-12Fix ICE-133117Shunpoco-4/+4
2025-01-12Fix ICE-133063Shunpoco-3/+5
2024-12-18Re-export more `rustc_span::symbol` things from `rustc_span`.Nicholas Nethercote-2/+1
2024-12-17Rename `rustc_mir_build::build` to `builder`Zalathar-0/+2813