about summary refs log tree commit diff
path: root/compiler/rustc_mir_build/src/builder
AgeCommit message (Expand)AuthorLines
2025-04-15Rollup merge of #139669 - nnethercote:overhaul-AssocItem, r=oli-obkStuart Cook-1/+1
2025-04-15Rollup merge of #138393 - oli-obk:pattern-type-in-pattern, r=BoxyUwUStuart Cook-2/+27
2025-04-14Allow const patterns of matches to contain pattern typesOli Scherer-2/+27
2025-04-14Move `has_self` field to `hir::AssocKind::Fn`.Nicholas Nethercote-1/+1
2025-04-07Make use generated TerminatorKind::Call have call_source UseSantiago Pastorino-1/+1
2025-04-07Rollup merge of #139108 - Nadrieril:simplify-expandedconstant, r=oli-obkStuart Cook-31/+2
2025-04-07Rollup merge of #139035 - nnethercote:PatKind-Missing, r=oli-obkStuart Cook-1/+2
2025-04-06Add the inline const type annotation in pattern loweringNadrieril-29/+1
2025-04-06Remove the `is_inline` field from `PatKind::ExpandedConstant`Nadrieril-7/+6
2025-04-03Rollup merge of #138610 - oli-obk:no-sort-hir-ids, r=compiler-errorsMatthias Krüger-3/+7
2025-04-03Rollup merge of #138017 - nnethercote:tighten-assignment-op, r=spastorinoMatthias Krüger-2/+8
2025-04-03Upvars HirIds always have the same owner, thus just use an ItemLocalIdOli Scherer-3/+7
2025-04-03Auto merge of #139234 - compiler-errors:query-tweak, r=oli-obkbors-2/+2
2025-04-03Tighten up assignment operator representations.Nicholas Nethercote-2/+8
2025-04-02Use return_result_from_ensure_ok a bit moreMichael Goulet-2/+2
2025-04-02Move methods from `Map` to `TyCtxt`, part 5.Nicholas Nethercote-3/+3
2025-03-28use `slice::contains` where applicableYotam Ofek-1/+1
2025-03-28Add `{ast,hir,thir}::PatKind::Missing` variants.Nicholas Nethercote-1/+2
2025-03-26Rollup merge of #138959 - meithecatte:matchpair-place-option, r=ZalatharStuart Cook-9/+23
2025-03-26Rollup merge of #138818 - khuey:138198, r=jieyouxuStuart Cook-16/+42
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