summary refs log tree commit diff
path: root/compiler/rustc_mir_build/src/builder
AgeCommit message (Expand)AuthorLines
2025-05-04Initial support for dynamically linked cratesBryanskiy-1/+3
2025-04-28Rollup merge of #140022 - dianne:box-deref-pats, r=NadrierilChris Denton-2/+9
2025-04-28AsyncDrop implementation using shim codegen of async_drop_in_place::{closure}...Andrew Zhogin-20/+143
2025-04-24lower deref patterns on boxes using built-in derefsdianne-2/+9
2025-04-24Rollup merge of #140028 - dianne:lit-deref-pats-p1, r=oli-obkMatthias Krüger-0/+23
2025-04-22make `str` literal patterns usable in deref patternsdianne-0/+23
2025-04-20remove a couple clonesMatthias Krüger-1/+1
2025-04-18Rollup merge of #139615 - nnethercote:rm-name_or_empty, r=jdonszelmannMatthias Krüger-2/+3
2025-04-17do not emit `OpaqueCast` projections with `-Znext-solver`lcnr-11/+14
2025-04-17Replace infallible `name_or_empty` methods with fallible `name` methods.Nicholas Nethercote-2/+3
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