about summary refs log tree commit diff
path: root/compiler/rustc_mir_build
AgeCommit message (Expand)AuthorLines
2024-09-13Rename and reorder lots of lifetimes.Nicholas Nethercote-7/+6
2024-09-13Auto merge of #107251 - dingxiangfei2009:let-chain-rescope, r=jieyouxubors-1/+17
2024-09-12Rollup merge of #130235 - compiler-errors:nested-if, r=michaelwoeristerStuart Cook-3/+2
2024-09-11Simplify some nested if statementsMichael Goulet-3/+2
2024-09-11rescope temp lifetime in let-chain into IfElseDing Xiang Fei-1/+17
2024-09-09Remove needless returns detected by clippy in the compilerEduardo Sánchez Muñoz-7/+5
2024-09-01Revert "Auto merge of #127537 - veluca93:struct_tf, r=BoxyUwU"Jakub Beránek-91/+6
2024-08-29Add `warn(unreachable_pub)` to `rustc_mir_build`.Nicholas Nethercote-1/+2
2024-08-28Implement RFC 3525.Luca Versari-6/+91
2024-08-25Avoid taking reference of &TyKindMichael Goulet-2/+2
2024-08-24Fix `elided_named_lifetimes` in codePavel Grigorenko-1/+1
2024-08-21Rollup merge of #129345 - compiler-errors:scratch4, r=jieyouxuMatthias Krüger-7/+2
2024-08-21Rollup merge of #129344 - compiler-errors:less-option-unit-diagnostics, r=jie...Matthias Krüger-10/+10
2024-08-21Rollup merge of #129281 - Nadrieril:tweak-unreachable-lint-wording, r=estebankMatthias Krüger-16/+35
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-10/+7
2024-08-20fix: simple typo in compiler directoryc8ef-1/+1
2024-08-19Cap the number of patterns pointed to by the lintNadrieril-3/+20
2024-08-19Add a note with a link to explain empty typesNadrieril-0/+5
2024-08-19Reword the "unreachable pattern" explanationsNadrieril-4/+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-7/+30
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-5/+12
2024-08-13Allow to customize `// TODO:` comment for deprecated safe autofixTobias Bucher-7/+23
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-29/+87
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