about summary refs log tree commit diff
path: root/compiler/rustc_mir_build/src
AgeCommit message (Expand)AuthorLines
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
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)-15/+42
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-17Clarify the match ergonomics 2024 migration lint's outputdianne-15/+38