fn transform_ty<'tcx>(
    tcx: TyCtxt<'tcx>,
    ty: Ty<'tcx>,
    parents: &mut Vec<Ty<'tcx>>,
    options: TypeIdOptions
) -> Ty<'tcx>