about summary refs log tree commit diff
path: root/compiler/rustc_mir_build
AgeCommit message (Expand)AuthorLines
2024-07-25Various notes on match loweringZalathar-54/+198
2024-07-24Improve "covered_by_many" errorNadrieril-19/+18
2024-07-24Explain why a given pattern is considered unreachableNadrieril-23/+78
2024-07-24Move rustc-specific entrypoint to the `rustc` moduleNadrieril-6/+10
2024-07-23Rollup merge of #125834 - workingjubilee:weaken-thir-unsafeck-for-addr-of-sta...Matthias Krüger-2/+22
2024-07-22compiler: treat `&raw (const|mut) UNSAFE_STATIC` implied deref as safeJubilee Young-2/+22
2024-07-22Rollup merge of #125990 - tbu-:pr_unsafe_env_lint_name, r=ehussTrevor Gross-2/+2
2024-07-21Rollup merge of #128033 - Nadrieril:explain-empty-wildcards, r=compiler-errorsJubilee-16/+20
2024-07-21Explain why we require `_` for empty patternsNadrieril-0/+4
2024-07-21Tweak `collect_non_exhaustive_tys`Nadrieril-16/+16
2024-07-20Rollup merge of #127917 - Zalathar:after-or, r=NadrierilMatthias Krüger-91/+129
2024-07-20Rollup merge of #127556 - Zalathar:autoref, r=NadrierilMatthias Krüger-81/+84
2024-07-20Inline `finalize_or_candidate`Zalathar-17/+7
2024-07-20Improve `test_remaining_match_pairs_after_or`Zalathar-0/+13
2024-07-20Split out `test_remaining_match_pairs_after_or`Zalathar-43/+58
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-41/+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/+108
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