about summary refs log tree commit diff
path: root/compiler/rustc_mir_build/src
AgeCommit message (Expand)AuthorLines
2025-01-28Represent the raw pointer for a array length check as a new kind of fake borrowMichael Goulet-17/+6
2025-01-27Reapply "Auto merge of #133734 - scottmcm:lower-indexing-to-ptrmetadata, r=da...Michael Goulet-9/+83
2025-01-27Use an operand instead of a place that is always turned into an operandOli Scherer-12/+8
2025-01-27Deduplicate operand creation between scalars, non-scalars and string patternsOli Scherer-8/+11
2025-01-27Use identifiers in diagnostics more oftenMichael Goulet-6/+6
2025-01-25Rollup merge of #136018 - estebank:long-moved-type, r=jieyouxuMatthias Krüger-2/+10
2025-01-24Use short ty string for move errorsEsteban Küber-2/+10
2025-01-24don't drop types with no drop glue when tailcallingWaffle Lapkin-0/+9
2025-01-22Rollup merge of #135409 - Shunpoco:issue-133117-ICE-never-false-edge-start-bl...Matthias Krüger-2/+9
2025-01-22modify commentShunpoco-1/+1
2025-01-22address review: modify matches/mod.rsShunpoco-4/+9
2025-01-21add fixme in typoed const pattern lintRémy Rakic-0/+6
2025-01-20Auto merge of #135754 - jieyouxu:rollup-j4q1hpr, r=jieyouxubors-1/+1
2025-01-20Rollup merge of #135310 - estebank:issue-135289, r=Nadrieril许杰友 Jieyou Xu (Joe)-8/+1
2025-01-19Run `clippy --fix` for `unnecessary_map_or` lintYotam Ofek-1/+1
2025-01-19Auto merge of #135709 - lqd:bring-back-len, r=compiler-errorsbors-103/+15
2025-01-18Revert "Auto merge of #133734 - scottmcm:lower-indexing-to-ptrmetadata, r=dav...Rémy Rakic-83/+9
2025-01-18Revert "Rollup merge of #134371 - scottmcm:fix-134352, r=oli-obk"Rémy Rakic-25/+7
2025-01-18Revert "Auto merge of #134330 - scottmcm:no-more-rvalue-len, r=matthewjasper"Rémy Rakic-3/+7
2025-01-18Consolidate ad-hoc MIR lints into real pass-manager-based MIR lintsMichael Goulet-373/+2
2025-01-16Coerce safe-to-call target_feature functions to fn pointers.Luca Versari-8/+3
2025-01-15Avoid notes that only make sense for unsafe functionsOli Scherer-2/+5
2025-01-15Treat safe target_feature functions as unsafe by defaultOli Scherer-0/+4
2025-01-14Add hir::HeaderSafety to make follow up commits simplerOli Scherer-5/+18
2025-01-12Fix ICE-133117Shunpoco-4/+4
2025-01-12Fix ICE-133063Shunpoco-3/+5
2025-01-11review commentsEsteban Küber-57/+67
2025-01-11Avoid unnecessary note when type has escaping boundsEsteban Küber-3/+9
2025-01-11Avoid duplicated noteEsteban Küber-6/+8
2025-01-11Account for `for<'a>` types when checking for non-structural type in constant...Esteban Küber-3/+10
2025-01-10mir_build: check annotated functions w/out callersDavid Wood-0/+96
2025-01-09Always force non-trimming of path in `unreachable_patterns` lintEsteban Küber-8/+1
2025-01-09Remove the now-useless `Result` from `lit_to_const`Oli Scherer-14/+12
2025-01-09Always take the `Ok` path in `lit_to_const` and produce error constants insteadOli Scherer-1/+1
2025-01-09Use error constant instead of explicit error handlingOli Scherer-4/+3
2025-01-09Make `lit_to_mir_constant` infallibleOli Scherer-31/+21
2025-01-08Auto merge of #135260 - matthiaskrgr:rollup-8irqs72, r=matthiaskrgrbors-26/+13
2025-01-08run borrowck tests on BIDs and emit tail-expr-drop-order lints forDing Xiang Fei-3/+3
2025-01-08Rename PatKind::Lit to ExprOli Scherer-1/+1
2025-01-08Exhaustively handle expressions in patternsOli Scherer-25/+12
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-58/+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-58/+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