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