fn coroutine_kind(tcx: TyCtxt<'_>, def_id: LocalDefId) -> Option<CoroutineKind>