fn find_declared_generic_param<'tcx>( tcx: TyCtxt<'tcx>, def_id: DefId, type_ident: &str, ) -> Option<Ty<'tcx>>