about summary refs log tree commit diff
path: root/compiler/rustc_mir_build/src
AgeCommit message (Expand)AuthorLines
2024-07-20Improve `merge_trivial_subcandidates`Zalathar-5/+15
2024-07-20Split out `remove_never_subcandidates`Zalathar-37/+47
2024-07-18Rollup merge of #127858 - Zalathar:pair-tree, r=NadrierilMatthias Krüger-39/+46
2024-07-18remove saw_const_match_error; check if pattern contains an Error insteadRalf Jung-14/+3
2024-07-18avoid creating an Instance only to immediately disassemble it againRalf Jung-39/+3
2024-07-18pattern lowering: make sure we never call user-defined PartialEq instancesRalf Jung-28/+17
2024-07-18const_to_pat: cleanup leftovers from when we had to deal with non-structural ...Ralf Jung-226/+107
2024-07-18valtree construction: keep track of which type was valtree-incompatibleRalf Jung-4/+3
2024-07-17Rollup merge of #127472 - Zalathar:block-and-unit, r=fmeaseMatthias Krüger-73/+86
2024-07-17Rename `deprecated_safe` lint to `deprecated_safe_2024`Tobias Bucher-2/+2
2024-07-17Rename `test` to `pick_test_for_match_pair`Zalathar-3/+6
2024-07-17Rename `MatchPair` to `MatchPairTree`Zalathar-37/+41
2024-07-16Rollup merge of #127707 - Zalathar:expand-until, r=NadrierilMatthias Krüger-14/+19
2024-07-16Rollup merge of #127709 - Zalathar:pair-mod, r=NadrierilTrevor Gross-245/+272
2024-07-16Use an iterator to find `expand_until`Zalathar-14/+19
2024-07-14Add cache for `allocate_str`Adwin White-1/+1
2024-07-14Improve internal docs for `MatchPair`Zalathar-5/+24
2024-07-14Move `MatchPair` tree creation to its own moduleZalathar-240/+248
2024-07-10Replace a long inline "autoref" comment with method docsZalathar-81/+84
2024-07-09Address review commentsNadrieril-4/+4
2024-07-09Return the `otherwise_block` instead of passing it as argumentNadrieril-57/+29
2024-07-09Factor out the "process remaining candidates" casesNadrieril-44/+30
2024-07-09Don't try to save an extra blockNadrieril-13/+9
2024-07-09Move or-pattern expansion inside the main part of the algorithmNadrieril-36/+24
2024-07-09Factor out the special handling of or-patternsNadrieril-81/+104
2024-07-09Move a functionNadrieril-19/+19
2024-07-09Auto merge of #127028 - Nadrieril:fix-or-pat-expansion, r=matthewjasperbors-0/+3
2024-07-08Auto merge of #113128 - WaffleLapkin:become_trully_unuwuable, r=oli-obk,RalfJungbors-2/+139
2024-07-08Stop using `unpack!` for `BlockAnd<()>`Zalathar-29/+26
2024-07-08Remove the non-assigning form of `unpack!`Zalathar-44/+60
2024-07-07Fix conflicts after rebaseMaybe Lapkin-1/+1
2024-07-07Fix unconditional recursion lint wrt tail callsMaybe Waffle-2/+16
2024-07-07Properly handle drops for tail callsDrMeepster-18/+107
2024-07-07Support tail calls in mir via `TerminatorKind::TailCall`Maybe Waffle-2/+36
2024-07-05coverage: Rename `mir::coverage::BranchInfo` to `CoverageInfoHi`Zalathar-60/+73
2024-07-03Auto merge of #125507 - compiler-errors:type-length-limit, r=lcnrbors-2/+3
2024-07-02Instance::resolve -> Instance::try_resolve, and other nitsMichael Goulet-2/+3
2024-07-02chore: remove duplicate wordshattizai-2/+2
2024-06-30Replace a magic boolean with enum `ScheduleDrops`Zalathar-18/+56
2024-06-30Replace a magic boolean with enum `EmitStorageLive`Zalathar-19/+32
2024-06-30Replace a magic boolean with enum `DeclareLetBindings`Zalathar-17/+64
2024-06-29Rollup merge of #126835 - Nadrieril:reify-decision-tree, r=matthewjasperMatthias Krüger-260/+250
2024-06-27Fix expansion of or-patternsNadrieril-0/+3
2024-06-25Rollup merge of #126932 - Zalathar:flat-pat, r=NadrierilMatthias Krüger-11/+24
2024-06-25Rollup merge of #126926 - Zalathar:candidate-per-arm, r=NadrierilMatthias Krüger-2/+5
2024-06-25Tweak `FlatPat::new` to avoid a temporarily-invalid stateZalathar-11/+24
2024-06-25Tweak a confusing comment in `create_match_candidates`Zalathar-2/+5
2024-06-25Auto merge of #126813 - compiler-errors:SliceLike, r=lcnrbors-1/+1
2024-06-24Auto merge of #126784 - scottmcm:smaller-terminator, r=compiler-errorsbors-8/+10
2024-06-24Split out IntoIterator and non-Iterator constructors for AliasTy/AliasTerm/Tr...Michael Goulet-1/+1