noop_fold_ty_param(tp, self)
}
- fn fold_ty_params(&mut self, tps: P<[TyParam]>) -> P<[TyParam]> {
+ fn fold_ty_params(&mut self, tps: HirVec<TyParam>) -> HirVec<TyParam> {
noop_fold_ty_params(tps, self)
}
}
}
-pub fn noop_fold_ty_params<T: Folder>(tps: P<[TyParam]>,
+pub fn noop_fold_ty_params<T: Folder>(tps: HirVec<TyParam>,
fld: &mut T)
- -> P<[TyParam]> {
+ -> HirVec<TyParam> {
tps.move_map(|tp| fld.fold_ty_param(tp))
}