about summary refs log tree commit diff
path: root/compiler/rustc_mir_build/src/builder
AgeCommit message (Expand)AuthorLines
2025-03-26MatchPairTree: update invariant commentMaja Kądziołka-2/+2
2025-03-26Revert "Make `MatchPairTree::place` non-optional"Maja Kądziołka-9/+23
2025-03-24Rollup merge of #138821 - dianne:cleanup-non-scalar-compare, r=oli-obkMatthias Krüger-91/+21
2025-03-22Rollup merge of #138410 - bjorn3:misc_cleanups, r=compiler-errorsMatthias Krüger-36/+28
2025-03-21match lowering cleanup: `non_scalar_compare` is only for `&str`dianne-91/+21
2025-03-21Don't produce debug information for compiler-introduced-vars when desugaring ...Kyle Huey-16/+42
2025-03-19Rollup merge of #138001 - meithecatte:privately-uninhabited, r=NadrierilMatthias Krüger-6/+6
2025-03-18Auto merge of #138630 - matthiaskrgr:rollup-kk1gogr, r=matthiaskrgrbors-1/+1
2025-03-18Move `hir::Item::ident` into `hir::ItemKind`.Nicholas Nethercote-1/+1
2025-03-16Build `UserTypeProjections` lazily when visiting bindingsZalathar-30/+176
2025-03-16Split `visit_primary_bindings` into two variantsZalathar-50/+61
2025-03-16Simplify handling of `visibility_scope` in `declare_bindings`Zalathar-6/+4
2025-03-13Simplify lit_to_mir_constant a bitbjorn3-16/+11
2025-03-13Return blocks from DropTree::build_mirbjorn3-20/+17
2025-03-12Rollup merge of #137504 - nnethercote:remove-Map-4, r=ZalatharManish Goregaokar-4/+3
2025-03-12Move methods from `Map` to `TyCtxt`, part 4.Nicholas Nethercote-4/+3
2025-03-10Allow int literals for pattern types with int base typesOli Scherer-1/+6
2025-03-08Auto merge of #137502 - compiler-errors:global-asm-aint-mir-body, r=oli-obkbors-1/+2
2025-03-07Rollup merge of #134797 - spastorino:ergonomic-ref-counting-1, r=nikomatsakisMatthias Krüger-3/+67
2025-03-07mir_build: consider privacy when checking for irrefutable patternsMaja Kądziołka-4/+5
2025-03-07Add helper methods checking for "#[non_exhaustive] that's active"Maja Kądziołka-2/+1
2025-03-06Add UseCloned trait related codeSantiago Pastorino-26/+46
2025-03-06Generate the right MIR for by use closuresSantiago Pastorino-2/+2
2025-03-06Implement .use keyword as an alias of cloneSantiago Pastorino-1/+45
2025-03-06Construct MIR error body for global_asm correctlyMichael Goulet-1/+2
2025-03-05Make `MatchPairTree::place` non-optionalZalathar-23/+9
2025-03-05Remove the separate simplify step for match-pair treesZalathar-71/+14
2025-03-05Remove `TestCase::Irrefutable`Zalathar-58/+38
2025-03-05Populate pattern bindings/ascriptions while building `MatchPairTree`Zalathar-46/+100
2025-03-05Make `MatchPairTree::for_pattern` push its output node to a vectorZalathar-19/+23
2025-03-05Make `field_match_pairs` push its output nodes to a vectorZalathar-12/+9
2025-02-24Fix some `use` items that import more than necessary.Nicholas Nethercote-2/+2
2025-02-23Rollup merge of #137334 - compiler-errors:edition-2024-fresh-2, r=saethlin,tr...Jacob Pratt-3/+3
2025-02-23Rollup merge of #137180 - compiler-errors:sym-regions, r=oli-obkMatthias Krüger-14/+8
2025-02-22Greatly simplify lifetime captures in edition 2024Michael Goulet-3/+3
2025-02-22Fix binding mode problemsMichael Goulet-1/+1
2025-02-22Make a fake body to store typeck results for global_asmMichael Goulet-14/+8
2025-02-21Rollup merge of #137305 - nnethercote:rustc_middle-2, r=lcnrMatthias Krüger-27/+16
2025-02-21Put a `BlockTailInfo` in `BlockFrame::TailExpr`.Nicholas Nethercote-20/+9
2025-02-21Rename `ClearCrossCrate::assert_crate_local`.Nicholas Nethercote-7/+7
2025-02-20Don't store a redundant span in user-type projectionsZalathar-2/+1
2025-02-20Avoid a useless clone of `UserTypeProjection`Zalathar-5/+2
2025-02-19Rollup merge of #137213 - nnethercote:rm-rustc_middle-mir-tcx, r=compiler-errorsMatthias Krüger-1/+0
2025-02-19Remove `rustc_middle::mir::tcx` module.Nicholas Nethercote-1/+0
2025-02-18Move methods from `Map` to `TyCtxt`, part 2.Nicholas Nethercote-4/+3
2025-02-08Rustfmtbjorn3-239/+340
2025-02-06Rollup merge of #136435 - Zalathar:thir-pat-stuff, r=NadrierilMatthias Krüger-118/+117
2025-02-05Auto merge of #136302 - oli-obk:push-vvqmwzunxsrk, r=compiler-errorsbors-10/+11
2025-02-03Slightly simplify the signature of `lower_match_arms`Zalathar-10/+8
2025-02-03Avoid double-boxing lists of THIR subpatternsZalathar-2/+2