]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_front/fold.rs
Auto merge of #30470 - petrochenkov:owned5, r=nrc
[rust.git] / src / librustc_front / fold.rs
index 5da679c3495c5539406d291f636f2fe3d2f85b79..e456b1eadf5d7460dc2d18c5d97a15a5f8493e85 100644 (file)
@@ -210,7 +210,7 @@ fn fold_ty_param(&mut self, tp: TyParam) -> TyParam {
         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)
     }
 
@@ -575,9 +575,9 @@ pub fn noop_fold_ty_param<T: Folder>(tp: TyParam, fld: &mut T) -> TyParam {
     }
 }
 
-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))
 }