about summary refs log tree commit diff
path: root/compiler/rustc_mir_build
AgeCommit message (Expand)AuthorLines
2025-01-07Rollup merge of #134989 - max-niederman:guard-patterns-hir, r=oli-obkMatthias Krüger-0/+3
2025-01-04Rollup merge of #135046 - RalfJung:rustc_box_intrinsic, r=compiler-errorsJubilee-63/+18
2025-01-04Auto merge of #135031 - RalfJung:intrinsics-without-body, r=oli-obkbors-0/+14
2025-01-04rustc_intrinsic: support functions without body; they are implicitly marked a...Ralf Jung-0/+14
2025-01-03const-in-pattern: test that the PartialEq impl does not need to be constRalf Jung-0/+4
2025-01-03turn rustc_box into an intrinsicRalf Jung-63/+18
2024-12-31add guard patterns to HIR and implement loweringMax Niederman-0/+3
2024-12-27Fix typoschloefeal-1/+1
2024-12-22Delete `Rvalue::Len`Scott McMurray-7/+3
2024-12-20Handle DropKind::ForLint in coroutines correctlyMichael Goulet-10/+10
2024-12-19Auto merge of #134486 - compiler-errors:drop-for-lint, r=nikomatsakisbors-41/+107
2024-12-19pacify merciless fmtNiko Matsakis-5/+5
2024-12-19explain how `build_scope_drops` worksNiko Matsakis-2/+38
2024-12-19Rename Scope.id to Scope.local_id, remove trivial accessorMichael Goulet-14/+20
2024-12-19Use TypingEnv from MIR builderMichael Goulet-4/+1
2024-12-18Separate DropKind::ForLintMichael Goulet-39/+69
2024-12-18Rollup merge of #134399 - spastorino:invert-if-condition, r=jieyouxu许杰友 Jieyou Xu (Joe)-3/+3
2024-12-18Rollup merge of #134394 - dianne:clarify-pat-2024-migration, r=compiler-errors许杰友 Jieyou Xu (Joe)-16/+43
2024-12-18mir: require `is_cleanup` when creating `BasicBlockData`DianQK-8/+9
2024-12-18Do not do if ! else, use unnegated cond and swap the branches insteadSantiago Pastorino-3/+3
2024-12-18Re-export more `rustc_span::symbol` things from `rustc_span`.Nicholas Nethercote-10/+5
2024-12-17Add the edition guide link from the match 2024 migration lint to the error as...dianne-0/+4
2024-12-17Improve the pattern migration 2024 migration lint's messagedianne-1/+1
2024-12-17Clarify the match ergonomics 2024 migration lint's outputdianne-16/+39
2024-12-17Rollup merge of #134400 - spastorino:fix-some-comments, r=compiler-errorsJacob Pratt-1/+1
2024-12-17Explain why `build` was renamed to `builder`Zalathar-0/+8
2024-12-17Rename `rustc_mir_build::build` to `builder`Zalathar-53/+53
2024-12-16Adjust upvar.rs file pathSantiago Pastorino-1/+1
2024-12-16Rollup merge of #134371 - scottmcm:fix-134352, r=oli-obkMatthias Krüger-7/+25
2024-12-16Rollup merge of #134197 - Enselic:mirror, r=lcnrMatthias Krüger-0/+8
2024-12-16Rollup merge of #134314 - compiler-errors:default-struct-value-const, r=estebankMatthias Krüger-5/+11
2024-12-15Check for array lengths that aren't actually `usize`Scott McMurray-7/+25
2024-12-15Add hir::AttributeJonathan Dönszelmann-2/+1
2024-12-15Rollup merge of #134285 - oli-obk:push-vwrqsqlwnuxo, r=UrgauStuart Cook-10/+6
2024-12-14Auto merge of #133734 - scottmcm:lower-indexing-to-ptrmetadata, r=davidtwco,R...bors-9/+83
2024-12-14Add some convenience helper methods on `hir::Safety`Oli Scherer-10/+6
2024-12-14Make sure to use normalized ty for unevaluated const for default struct valueMichael Goulet-5/+11
2024-12-14Split UserTypeAnnotation to have a kindMichael Goulet-7/+7
2024-12-13rustc_mir_build: Clarify that 'mirrored' does not mean 'flipped' or 'reversed'Martin Nordholts-0/+8
2024-12-13Don't retag the `PtrMetadata(&raw const *_n)` in slice indexingScott McMurray-2/+11
2024-12-12Add unwrap_unsafe_binder and wrap_unsafe_binder macro operatorsMichael Goulet-0/+5
2024-12-09review comments: rewordingsEsteban Küber-1/+1
2024-12-09Introduce `default_field_values` featureEsteban Küber-38/+98
2024-12-07Auto merge of #133978 - matthiaskrgr:rollup-6gh1iho, r=matthiaskrgrbors-1/+5
2024-12-07Auto merge of #133897 - oli-obk:push-lsxrqtqqwmpt, r=jieyouxubors-24/+0
2024-12-06Silence follow-up errors from `lit_to_const`Oli Scherer-1/+5
2024-12-05Rollup merge of #133607 - WaffleLapkin:tail-call-checks, r=compiler-errorsGuillaume Gomez-0/+392
2024-12-05Avoid looking at HIR for inline const pattern literalsOli Scherer-24/+0
2024-12-04review comments: reword messages and simplify logicEsteban Küber-43/+23
2024-12-04Add more context to fall-through "const pattern of non-structural type" errorEsteban Küber-42/+157