Stop using a special inner body for the coroutine by-move body for async closures
This commit is contained in:
@@ -626,7 +626,8 @@ impl<'tcx> EmbargoVisitor<'tcx> {
|
||||
| DefKind::Field
|
||||
| DefKind::GlobalAsm
|
||||
| DefKind::Impl { .. }
|
||||
| DefKind::Closure => (),
|
||||
| DefKind::Closure
|
||||
| DefKind::SyntheticCoroutineBody => (),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user