about summary refs log tree commit diff
path: root/compiler/rustc_mir_build/src
AgeCommit message (Expand)AuthorLines
2024-08-11Rollup merge of #128762 - fmease:use-more-slice-pats, r=compiler-errorsMatthias Krüger-2/+4
2024-08-10Stabilize `min_exhaustive_patterns`Nadrieril-12/+7
2024-08-07Use more slice patterns inside the compilerLeón Orell Valerian Liehr-2/+4
2024-08-07Disallow enabling features without their implied featuresCaleb Zulawski-9/+1
2024-08-07Hide implicit target features from diagnostics when possibleCaleb Zulawski-5/+21
2024-08-06miri: make vtable addresses not globally uniqueRalf Jung-2/+4
2024-08-05custom MIR: add support for tail callsRalf Jung-0/+22
2024-08-01MIR required_consts, mentioned_items: ensure we do not forget to fill these l...Ralf Jung-2/+2
2024-07-31Rollup merge of #127159 - Nadrieril:hide-candidate, r=matthewjasperMatthias Krüger-245/+293
2024-07-29Rollup merge of #128304 - Zalathar:thir-pat-display, r=NadrierilMatthias Krüger-5/+5
2024-07-29Entirely hide `Candidate`s from outside `lower_match_tree`Nadrieril-38/+64
2024-07-29Visiting bindings is straightforward nowNadrieril-67/+14
2024-07-29Abstract out the candidate manipulation not in the main algorithmNadrieril-127/+192
2024-07-29Set up false edges in `lower_match_tree`Nadrieril-38/+42
2024-07-29Small simplificationNadrieril-14/+20
2024-07-29Encapsulate the printing of `WitnessPat`Zalathar-4/+4
2024-07-29Reformat `use` declarations.Nicholas Nethercote-112/+127
2024-07-28Don't store `thir::Pat` in error structsZalathar-1/+1
2024-07-26Auto merge of #128034 - Nadrieril:explain-unreachable, r=compiler-errorsbors-28/+79
2024-07-26Rollup merge of #128085 - Zalathar:notes, r=NadrierilMatthias Krüger-60/+198
2024-07-25Turn an unreachable code path into an ICEOli Scherer-11/+5
2024-07-25Remove an obsolete commentZalathar-6/+0
2024-07-25Various notes on match loweringZalathar-54/+198
2024-07-24Improve "covered_by_many" errorNadrieril-18/+13
2024-07-24Explain why a given pattern is considered unreachableNadrieril-22/+74
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-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