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>)