about summary refs log tree commit diff
path: root/compiler/rustc_mir_build
AgeCommit message (Expand)AuthorLines
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-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/+103
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-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