about summary refs log tree commit diff
path: root/compiler/rustc_middle/src/mir
AgeCommit message (Expand)AuthorLines
2025-03-04Rollup merge of #137923 - scottmcm:fix-postorder-size-hint, r=tmiaskoJubilee-26/+11
2025-03-03Also simplify `Preorder`'s `size_hint`Scott McMurray-15/+5
2025-03-03Rollup merge of #137922 - Zalathar:sharded, r=SparrowLiiMatthias Krüger-1/+2
2025-03-03Rollup merge of #137894 - compiler-errors:no-scalar-pair-opt, r=oli-obkMatthias Krüger-1/+1
2025-03-03Remove some unnecessary aliases from `rustc_data_structures::sync`Zalathar-1/+2
2025-03-02Simplify `<Postorder as Iterator>::size_hint`Scott McMurray-11/+6
2025-03-02Revert "Auto merge of #135335 - oli-obk:push-zxwssomxxtnq, r=saethlin"Michael Goulet-1/+1
2025-02-27Optimize empty provenance range checks.Nicholas Nethercote-10/+27
2025-02-26Rollup merge of #137671 - meithecatte:discoverable-dump-mir, r=NadrierilLeón Orell Valerian Liehr-0/+1
2025-02-26Make -Z unpretty=mir suggest -Z dump-mir as wellMaja Kądziołka-0/+1
2025-02-25Teach structured errors to display short `Ty`Esteban Küber-5/+5
2025-02-24Fix some `use` items that import more than necessary.Nicholas Nethercote-1/+1
2025-02-24Move `impl` blocks out of `rustc_middle/src/mir/syntax.rs`.Nicholas Nethercote-112/+106
2025-02-22Greatly simplify lifetime captures in edition 2024Michael Goulet-8/+5
2025-02-22Rollup merge of #137333 - compiler-errors:edition-2024-fresh, r=NadrierilMatthias Krüger-6/+6
2025-02-22Fix binding mode problemsMichael Goulet-6/+6
2025-02-22Rollup merge of #137257 - compiler-errors:fake-borrow-of-packed-field, r=oli-obkMatthias Krüger-4/+4
2025-02-21Ignore fake borrows for packed field checkMichael Goulet-4/+4
2025-02-21Rollup merge of #137305 - nnethercote:rustc_middle-2, r=lcnrMatthias Krüger-21/+6
2025-02-21Rollup merge of #137299 - nnethercote:simplify-PostOrder-customization, r=com...Matthias Krüger-35/+14
2025-02-21Rollup merge of #137204 - nnethercote:clarify-MIR-dialects-and-phases, r=Ralf...Matthias Krüger-60/+64
2025-02-21Clarify a comment.Nicholas Nethercote-1/+1
2025-02-21Make `PassWhere` impl `Copy`.Nicholas Nethercote-1/+1
2025-02-21Remove some unnecessary `FIXME` comments.Nicholas Nethercote-3/+0
2025-02-21Put a `BlockTailInfo` in `BlockFrame::TailExpr`.Nicholas Nethercote-1/+1
2025-02-21Rename `ClearCrossCrate::assert_crate_local`.Nicholas Nethercote-2/+2
2025-02-21Remove unused `Body::span_for_ty_context` method.Nicholas Nethercote-12/+0
2025-02-21Fix a typo in a comment.Nicholas Nethercote-1/+1
2025-02-20Don't store a redundant span in user-type projectionsZalathar-16/+7
2025-02-20Avoid a useless clone of `UserTypeProjection`Zalathar-2/+2
2025-02-20Simplify `Postorder` customization.Nicholas Nethercote-35/+14
2025-02-20Rollup merge of #137266 - nnethercote:mir-visitor-tweaks, r=compiler-errorsMatthias Krüger-173/+142
2025-02-20Rollup merge of #137262 - compiler-errors:ast-ir-begone, r=lcnrMatthias Krüger-2/+1
2025-02-20Improve how the MIR dialect/phase index is reported.Nicholas Nethercote-16/+10
2025-02-20Improve MIR phase comments.Nicholas Nethercote-22/+29
2025-02-20Reflow `MirPhase` comments.Nicholas Nethercote-22/+25
2025-02-19Improve formatting within `make_mir_visitor` macro body.Nicholas Nethercote-142/+128
2025-02-19Remove `MirVisitable`.Nicholas Nethercote-27/+0
2025-02-19Add `super_local` method to the MIR visitors.Nicholas Nethercote-4/+14
2025-02-19Make fewer crates depend on rustc_ast_irMichael Goulet-2/+1
2025-02-19Rollup merge of #137213 - nnethercote:rm-rustc_middle-mir-tcx, r=compiler-errorsMatthias Krüger-418/+397
2025-02-19Remove `rustc_middle::mir::tcx` module.Nicholas Nethercote-418/+397
2025-02-18Rollup merge of #137203 - nnethercote:improve-MIR-modification, r=compiler-er...Matthias Krüger-70/+1
2025-02-18Auto merge of #137162 - nnethercote:remove-Map-2, r=Zalatharbors-1/+1
2025-02-18Inline and replace `Statement::replace_nop`.Nicholas Nethercote-10/+1
2025-02-18Inline and remove `BasicBlockData::retain_statements`.Nicholas Nethercote-11/+0
2025-02-18Remove `BasicBlockData::expand_statements`.Nicholas Nethercote-49/+0
2025-02-18Move methods from `Map` to `TyCtxt`, part 2.Nicholas Nethercote-1/+1
2025-02-17Rollup merge of #136959 - nnethercote:simplify-SwitchSources, r=tmiaskoMatthias Krüger-17/+46
2025-02-17Rollup merge of #137095 - saethlin:use-hash64-for-hashes, r=workingjubileeMatthias Krüger-1/+2