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