Fix drop shim for AsyncFnOnce closure, AsyncFnMut shim for AsyncFn closure
This commit is contained in:
parent
c98d6994a3
commit
ca44416023
35 changed files with 595 additions and 67 deletions
|
@ -145,7 +145,7 @@ fn fn_sig_for_fn_abi<'tcx>(
|
|||
)
|
||||
}
|
||||
ty::Coroutine(did, args) => {
|
||||
// FIXME(async_closures): This isn't right for `CoroutineByMoveShim`.
|
||||
// FIXME(async_closures): This isn't right for `CoroutineKindShim`.
|
||||
|
||||
let coroutine_kind = tcx.coroutine_kind(did).unwrap();
|
||||
let sig = args.as_coroutine().sig();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue