about summary refs log tree commit diff
path: root/compiler/rustc_mir_build/src
AgeCommit message (Expand)AuthorLines
2024-08-21Simplify some redundant field namesMichael Goulet-7/+2
2024-08-21Use bool in favor of Option<()> for diagnosticsMichael Goulet-10/+10
2024-08-20Move the "matches no value" note to be a span labelNadrieril-9/+6
2024-08-20fix: simple typo in compiler directoryc8ef-1/+1
2024-08-19Cap the number of patterns pointed to by the lintNadrieril-3/+18
2024-08-19Add a note with a link to explain empty typesNadrieril-0/+4
2024-08-18rename AddressOf -> RawBorrow inside the compilerRalf Jung-14/+14
2024-08-17Remove a useless ref/id/ref round-trip from `pattern_from_hir`Zalathar-6/+2
2024-08-14Auto merge of #129060 - matthiaskrgr:rollup-s72gpif, r=matthiaskrgrbors-6/+29
2024-08-13Remove a no-longer-true `assert`Nadrieril-4/+6
2024-08-13`#[deprecated_safe_2024]`: Also use the `// TODO:` hint in the compiler errorTobias Bucher-4/+11
2024-08-13Allow to customize `// TODO:` comment for deprecated safe autofixTobias Bucher-6/+22
2024-08-13Auto merge of #128742 - RalfJung:miri-vtable-uniqueness, r=saethlinbors-2/+4
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