summary refs log tree commit diff
path: root/compiler/rustc_mir_build/src/builder/matches
AgeCommit message (Expand)AuthorLines
2025-03-26Rollup merge of #138959 - meithecatte:matchpair-place-option, r=ZalatharStuart Cook-9/+23
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-9/+23
2025-03-21match lowering cleanup: `non_scalar_compare` is only for `&str`dianne-91/+21
2025-03-21Don't produce debug information for compiler-introduced-vars when desugaring ...Kyle Huey-16/+42
2025-03-19Rollup merge of #138001 - meithecatte:privately-uninhabited, r=NadrierilMatthias Krüger-6/+6
2025-03-16Build `UserTypeProjections` lazily when visiting bindingsZalathar-30/+176
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-07mir_build: consider privacy when checking for irrefutable patternsMaja Kądziołka-4/+5
2025-03-07Add helper methods checking for "#[non_exhaustive] that's active"Maja Kądziołka-2/+1
2025-03-05Make `MatchPairTree::place` non-optionalZalathar-23/+9
2025-03-05Remove the separate simplify step for match-pair treesZalathar-71/+14
2025-03-05Remove `TestCase::Irrefutable`Zalathar-58/+38
2025-03-05Populate pattern bindings/ascriptions while building `MatchPairTree`Zalathar-46/+100
2025-03-05Make `MatchPairTree::for_pattern` push its output node to a vectorZalathar-19/+23
2025-03-05Make `field_match_pairs` push its output nodes to a vectorZalathar-12/+9
2025-02-24Fix some `use` items that import more than necessary.Nicholas Nethercote-2/+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-81/+121
2025-02-03Slightly simplify the signature of `lower_match_arms`Zalathar-10/+8
2025-02-03Avoid double-boxing lists of THIR subpatternsZalathar-2/+2
2025-02-03Remove some non-trivial `box` patternsZalathar-12/+8
2025-02-03Remove `'pat` lifetime from some match-lowering data structuresZalathar-96/+101
2025-01-28Edit the inputs to const == val check instead of duplicating logicOli Scherer-32/+34
2025-01-27Use an operand instead of a place that is always turned into an operandOli Scherer-12/+8
2025-01-27Deduplicate operand creation between scalars, non-scalars and string patternsOli Scherer-8/+11
2025-01-22Rollup merge of #135409 - Shunpoco:issue-133117-ICE-never-false-edge-start-bl...Matthias Krüger-2/+9
2025-01-22modify commentShunpoco-1/+1
2025-01-22address review: modify matches/mod.rsShunpoco-4/+9
2025-01-18Revert "Auto merge of #134330 - scottmcm:no-more-rvalue-len, r=matthewjasper"Rémy Rakic-2/+5
2025-01-12Fix ICE-133117Shunpoco-4/+4
2025-01-12Fix ICE-133063Shunpoco-3/+5
2024-12-22Delete `Rvalue::Len`Scott McMurray-5/+2
2024-12-18Re-export more `rustc_span::symbol` things from `rustc_span`.Nicholas Nethercote-4/+2
2024-12-17Rename `rustc_mir_build::build` to `builder`Zalathar-0/+4159