Stop using a special inner body for the coroutine by-move body for async closures
This commit is contained in:
parent
515395af0e
commit
4609841c07
40 changed files with 295 additions and 315 deletions
|
@ -626,7 +626,6 @@ fn characteristic_def_id_of_mono_item<'tcx>(
|
|||
| ty::InstanceKind::FnPtrShim(..)
|
||||
| ty::InstanceKind::ClosureOnceShim { .. }
|
||||
| ty::InstanceKind::ConstructCoroutineInClosureShim { .. }
|
||||
| ty::InstanceKind::CoroutineKindShim { .. }
|
||||
| ty::InstanceKind::Intrinsic(..)
|
||||
| ty::InstanceKind::DropGlue(..)
|
||||
| ty::InstanceKind::Virtual(..)
|
||||
|
@ -796,7 +795,6 @@ fn mono_item_visibility<'tcx>(
|
|||
| InstanceKind::Intrinsic(..)
|
||||
| InstanceKind::ClosureOnceShim { .. }
|
||||
| InstanceKind::ConstructCoroutineInClosureShim { .. }
|
||||
| InstanceKind::CoroutineKindShim { .. }
|
||||
| InstanceKind::DropGlue(..)
|
||||
| InstanceKind::AsyncDropGlueCtorShim(..)
|
||||
| InstanceKind::CloneShim(..)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue