about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coroutine
AgeCommit message (Expand)AuthorLines
2025-09-01Introduce `MirDumper` and `MirWriter`.Nicholas Nethercote-5/+14
2025-09-01Use trait object references for closures.Nicholas Nethercote-4/+4
2025-07-28use let chains in hir, lint, mirKivooeo-4/+4
2025-07-01Feed explicit_predicates_of instead of predicates_ofMichael Goulet-1/+1
2025-06-29mir: Use the `new` method for `BasicBlockData`dianqk-20/+13
2025-06-29mir: Add a `new` method to `statement`dianqk-16/+11
2025-06-14Async drop - fix for StorageLive/StorageDead codegen for pinned async drop fu...Andrew Zhogin-5/+16
2025-06-05Replace some `Option<Span>` with `Span` and use DUMMY_SP instead of NoneOli Scherer-19/+20
2025-06-04Fix for async drop inside async gen fnAndrew Zhogin-6/+28
2025-05-05Auto merge of #140453 - Zoxc:next-disambiguator, r=oli-obkbors-2/+10
2025-05-04Add comment on creation of `SyntheticCoroutineBody`John Kåre Alsaker-0/+2
2025-04-29Remove global `next_disambiguator` state and handle it with a `DisambiguatorS...John Kåre Alsaker-2/+8
2025-04-28AsyncDrop implementation using shim codegen of async_drop_in_place::{closure}...Andrew Zhogin-0/+725
2025-03-31Feed HIR for by-move coroutine body def, since the inliner tries to read its ...Michael Goulet-0/+2
2025-03-14Remove fake borrows of refs that are converted into non-refs in MakeByMoveBodyMichael Goulet-2/+39
2025-03-07Rollup merge of #137977 - nnethercote:less-kw-Empty-1, r=spastorinoMatthias Krüger-2/+1
2025-03-07Pass `Option<Symbol>` to `def_path_data`/`create_def` methods.Nicholas Nethercote-2/+1
2025-03-06Generate the right MIR for by use closuresSantiago Pastorino-1/+1
2025-02-08Rustfmtbjorn3-4/+4
2024-12-18Re-export more `rustc_span::symbol` things from `rustc_span`.Nicholas Nethercote-1/+1
2024-12-13Stabilize async closuresMichael Goulet-2/+0
2024-11-03compiler: Directly use rustc_abi in mir_transformJubilee Young-1/+1
2024-10-18Dont ICE when computing coverage of synthetic async closure bodyMichael Goulet-0/+1
2024-09-29cleanup: don't clone types that are CopyMatthias Krüger-5/+5
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-4/+4
2024-09-09Reduce visibilities, and add `warn(unreachable_pub)`.Nicholas Nethercote-1/+1
2024-09-07Don't build by-move body when async closure is taintedMichael Goulet-2/+9
2024-09-04Re-parent the by-move bodyMichael Goulet-1/+2
2024-09-03Rename dump of coroutine by-move-body to be more consistent, adjust testMichael Goulet-1/+1
2024-08-26Stop using a special inner body for the coroutine by-move body for async clos...Michael Goulet-129/+135
2024-08-14Fix projections when parent capture is by-refMichael Goulet-14/+40
2024-06-16Rename InstanceDef -> InstanceKindMichael Goulet-3/+3
2024-05-13Remove `extern crate rustc_middle` from `rustc_mir_transform`.Nicholas Nethercote-0/+1
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-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-08Actually, stop making any assumption about the projections applied to the upvarMichael Goulet-19/+17
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-04Force `move` async-closures that are `FnOnce` to make their inner coroutines ...Michael Goulet-6/+14
2024-04-02Comments, comments, commentsMichael Goulet-39/+92
2024-04-02Fix capture analysis for by-move closure bodiesMichael Goulet-16/+50
2024-04-02Avoid an `is_empty()` followed by an index op in favor of a single fallible opOli Scherer-3/+3