Expand description

A MIR pass which duplicates a coroutine’s body and removes any derefs which would be present for upvars that are taken by-ref. The result of which will be a coroutine body that takes all of its upvars by-move, and which we stash into the CoroutineInfo for all coroutines returned by coroutine-closures.

Structs§