about summary refs log tree commit diff
path: root/compiler/rustc_mir_build/src/builder/matches
AgeCommit message (Expand)AuthorLines
2025-09-16Remove Rvalue::Len.Camille Gillot-1/+2
2025-09-01Auto merge of #144783 - folkertdev:loop-match-diverging-loop, r=SparrowLiibors-1/+1
2025-08-14Apply suggestions from code reviewRalf Jung-3/+3
2025-08-14avoid unnecessary type sanity checksRalf Jung-1/+1
2025-08-14shrink TestBranch::Constant and PatRangeBoundary::FiniteRalf Jung-6/+8
2025-08-14use ty::Value instead of manual pairs of types and valtreesRalf Jung-23/+17
2025-08-14pattern testing: store constants as valtreesRalf Jung-47/+43
2025-08-14PatKind: store constants as valtreesRalf Jung-2/+6
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-43/+118
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-15/+95
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-06-05Replace some `Option<Span>` with `Span` and use DUMMY_SP instead of NoneOli Scherer-2/+2
2025-04-24lower deref patterns on boxes using built-in derefsdianne-2/+9
2025-04-22make `str` literal patterns usable in deref patternsdianne-0/+23
2025-04-17do not emit `OpaqueCast` projections with `-Znext-solver`lcnr-11/+14
2025-04-15Rollup merge of #139669 - nnethercote:overhaul-AssocItem, r=oli-obkStuart Cook-1/+1
2025-04-15Rollup merge of #138393 - oli-obk:pattern-type-in-pattern, r=BoxyUwUStuart Cook-2/+27
2025-04-14Allow const patterns of matches to contain pattern typesOli Scherer-2/+27
2025-04-14Move `has_self` field to `hir::AssocKind::Fn`.Nicholas Nethercote-1/+1
2025-04-07Rollup merge of #139108 - Nadrieril:simplify-expandedconstant, r=oli-obkStuart Cook-30/+1
2025-04-06Add the inline const type annotation in pattern loweringNadrieril-29/+1
2025-04-06Remove the `is_inline` field from `PatKind::ExpandedConstant`Nadrieril-6/+5
2025-03-28Add `{ast,hir,thir}::PatKind::Missing` variants.Nicholas Nethercote-1/+2
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