pub(crate) fn type_params_subst(&self, db: &dyn HirDatabase) -> Substitution {
        Substitution::from_iter(
            &Interner,
            self.iter().map(|(id, _)| {
                TyKind::Placeholder(crate::to_placeholder_idx(db, id)).intern(&Interner)
            }),
        )
    }
/// Returns a Substitution that replaces each parameter by itself (i.e. `Ty::Param`).
Returns a Substitution that replaces each parameter by itself .
Returns a Substitution that replaces each parameter by itself .
pub(crate) fn type_params_subst(&self, db: &dyn HirDatabase) -> Substitution {
        Substitution::from_iter(
            &Interner,
            self.iter().map(|(id, _)| {
                TyKind::Placeholder(crate::to_placeholder_idx(db, id)).intern(&Interner)
            }),
        )
    }
pub ( crate ) fn type_params_subst ( & self , db : & dyn HirDatabase ) -> Substitution { Substitution :: from_iter ( & Interner , self . iter ( ) . map ( | ( id , _ ) | { TyKind :: Placeholder ( crate :: to_placeholder_idx ( db , id ) ) . intern ( & Interner ) } ) , ) }
Returns a Substitution that replaces each parameter by itself (i.e.
Returns a Substitution that replaces each parameter by itself ( i . e .
&self
db
&dyn HirDatabase
&self
db
&dyn HirDatabase