pub fn partion_generic_api<'tcx>( all_apis: &HashSet<DefId>, tcx: TyCtxt<'tcx>, ) -> (HashSet<DefId>, HashSet<DefId>)