From 48028aa6696700803b5b5ca203a2ea5768d9fa43 Mon Sep 17 00:00:00 2001 From: Blaine Bublitz Date: Thu, 27 Jul 2023 12:57:44 -0700 Subject: [PATCH] remove unused function --- crates/noirc_frontend/src/hir/mod.rs | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/crates/noirc_frontend/src/hir/mod.rs b/crates/noirc_frontend/src/hir/mod.rs index d9383f62da0..d6f98e112af 100644 --- a/crates/noirc_frontend/src/hir/mod.rs +++ b/crates/noirc_frontend/src/hir/mod.rs @@ -109,19 +109,6 @@ impl Context { .collect() } - pub fn get_all_test_functions_in_workspace_matching( - &self, - pattern: &str, - ) -> Vec<(String, FuncId)> { - let mut tests = Vec::new(); - - for crate_id in self.crate_graph.iter_keys() { - tests.extend(self.get_all_test_functions_in_crate_matching(&crate_id, pattern)); - } - - tests - } - /// Return a Vec of all `contract` declarations in the source code and the functions they contain pub fn get_all_contracts(&self, crate_id: &CrateId) -> Vec { self.def_map(crate_id)