pub fn get_downcast_type<'tcx>(
    tcx: TyCtxt<'tcx>,
    base_ty: Ty<'tcx>,
    variant_idx: VariantIdx
) -> Ty<'tcx>
Expand description

Returns the rustc TyKind of the downcast projection