about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src
AgeCommit message (Expand)AuthorLines
2024-04-17consistency rename: language item -> lang itemRalf Jung-2/+2
2024-04-16Add simple async drop glue generationzetanumbers-4/+625
2024-04-16Avoid unnecessary `rustc_span::DUMMY_SP` usage.Nicholas Nethercote-2/+2
2024-04-15Do check_coroutine_obligations once per typeck rootMichael Goulet-0/+40
2024-04-15Rollup merge of #123934 - WaffleLapkin:graph-mini-refactor, r=fmease许杰友 Jieyou Xu (Joe)-24/+9
2024-04-15Use RPITIT for `Successors` and `Predecessors` traitsMaybe Waffle-6/+2
2024-04-14Rename `WithNumEdges` => `NumEdges` and `WithStartNode` => `StartNode`Maybe Waffle-2/+2
2024-04-14Merge `{With,Graph}{Successors,Predecessors}` into `{Successors,Predecessors}`Maybe Waffle-17/+8
2024-04-14Merge `WithNumNodes` into DirectedGraphMaybe Waffle-6/+4
2024-04-10Use a helper to zip together parent and child captures for coroutine-closuresMichael Goulet-68/+10
2024-04-10Only assert for child/parent projection compatibility AFTER checking that the...Michael Goulet-1/+8
2024-04-10Rollup merge of #123668 - oli-obk:by_move_body_golfing, r=compiler-errorsMatthias Krüger-51/+43
2024-04-09Iterate over parent captures first, as there is a 1:N mapping of parent captu...Oli Scherer-71/+63
2024-04-09Add a FIXMEOli Scherer-0/+1
2024-04-09Rollup merge of #123658 - compiler-errors:stop-assuming, r=oli-obkGuillaume Gomez-19/+17
2024-04-09Shrink a loop to its looping part and move out the part that runs after the loopOli Scherer-50/+50
2024-04-09prefer `expect` over `let else bug!`Oli Scherer-3/+2
2024-04-09Split out a complex if condition into a named functionOli Scherer-18/+18
2024-04-09Auto merge of #122387 - DianQK:re-enable-early-otherwise-branch, r=cjgillotbors-119/+53
2024-04-08Actually, stop making any assumption about the projections applied to the upvarMichael Goulet-19/+17
2024-04-08Auto merge of #123645 - matthiaskrgr:rollup-yd8d7f1, r=matthiaskrgrbors-35/+162
2024-04-08Rollup merge of #123518 - compiler-errors:by-move-fixes, r=oli-obkMatthias Krüger-35/+162
2024-04-08Auto merge of #120614 - DianQK:simplify-switch-int, r=cjgillotbors-116/+436
2024-04-08Actually create ranged int types in the type system.Oli Scherer-0/+1
2024-04-08Don't change the otherwise of the switchDianQK-1/+2
2024-04-08Change the return type of `can_simplify` to `Option<()>`DianQK-28/+26
2024-04-08Add comments for `CompareType`DianQK-8/+11
2024-04-08Updating the MIR with MirPatchDianQK-50/+54
2024-04-08Transforms a match containing negative numbers into an assignment statement a...DianQK-11/+38
2024-04-08Transforms match into an assignment statementDianQK-7/+223
2024-04-08Refactor `MatchBranchSimplification`DianQK-133/+205
2024-04-07Re-enable the early otherwise branch optimizationDianQK-2/+1
2024-04-07Resolve unsound hoisting of discriminant in `EarlyOtherwiseBranch`DianQK-116/+50
2024-04-06Put checks that detect UB under their own flag below debug_assertionsBen Kimock-2/+2
2024-04-05Account for an additional reborrow inserted by UniqueImmBorrow and MutBorrowMichael Goulet-3/+8
2024-04-05Check the base of the place too!Michael Goulet-6/+20
2024-04-05Add some helpful commentsMichael Goulet-4/+56
2024-04-05Rework the ByMoveBody shim to actually work correctlyMichael Goulet-34/+90
2024-04-05Rollup merge of #123350 - compiler-errors:async-closure-by-move, r=oli-obkGuillaume Gomez-6/+14
2024-04-05Auto merge of #123444 - saethlin:const-eval-inline-cycles, r=tmiaskobors-4/+14
2024-04-04Rollup merge of #123464 - fmease:rn-has-proj-to-has-aliases, r=compiler-errorsJacob Pratt-1/+1
2024-04-04Force `move` async-closures that are `FnOnce` to make their inner coroutines ...Michael Goulet-6/+14
2024-04-04Rename HAS_PROJECTIONS to HAS_ALIASES etc.León Orell Valerian Liehr-1/+1
2024-04-04Rollup merge of #123439 - Zalathar:constants, r=oli-obkMatthias Krüger-1/+1
2024-04-04Auto merge of #123052 - maurer:addr-taken, r=compiler-errorsbors-3/+3
2024-04-04Teach MIR inliner query cycle avoidance about const_eval_selectBen Kimock-4/+14
2024-04-04coverage: Remove useless constantsZalathar-1/+1
2024-04-03Rollup merge of #123419 - petrochenkov:zeroindex, r=compiler-errorsMatthias Krüger-21/+17
2024-04-03rustc_index: Add a `ZERO` constant to index typesVadim Petrochenkov-21/+17
2024-04-03rename `expose_addr` to `expose_provenance`joboet-2/+2