Skip to content

Commit

Permalink
remove unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
phated committed Jul 27, 2023
1 parent 3e58f37 commit 48028aa
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions crates/noirc_frontend/src/hir/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<Contract> {
self.def_map(crate_id)
Expand Down

0 comments on commit 48028aa

Please sign in to comment.