AsyncDrop implementation using shim codegen of async_drop_in_place::{closure}, scoped async drop added.
This commit is contained in:
@@ -405,6 +405,9 @@ impl<'tcx> Map<'tcx> {
|
||||
if exclude.contains(local) {
|
||||
continue;
|
||||
}
|
||||
if decl.ty.is_async_drop_in_place_coroutine(tcx) {
|
||||
continue;
|
||||
}
|
||||
|
||||
// Create a place for the local.
|
||||
debug_assert!(self.locals[local].is_none());
|
||||
|
||||
Reference in New Issue
Block a user