rustc_ty_utils::layout

Function variant_info_for_coroutine

Source
fn variant_info_for_coroutine<'tcx>(
    cx: &LayoutCx<'tcx>,
    layout: TyAndLayout<'tcx>,
    def_id: DefId,
    args: GenericArgsRef<'tcx>,
) -> (Vec<VariantInfo>, Option<Size>)