pub(crate) fn get_function_type_for_search<'tcx>( item: &Item, tcx: TyCtxt<'tcx>, impl_generics: Option<&(Type, Generics)>, parent: Option<DefId>, cache: &Cache, ) -> Option<IndexItemFunctionType>