aboutsummaryrefslogtreecommitdiff
path: root/crates/hir_ty
diff options
context:
space:
mode:
authorKirill Bulatov <[email protected]>2020-09-03 21:18:23 +0100
committerKirill Bulatov <[email protected]>2020-09-09 23:42:20 +0100
commit17870a3e2c39770a99f9ab5ce090abbe1dc334d2 (patch)
tree85e98d57518fd2735820e9b70f16a7e2ab54d082 /crates/hir_ty
parent4bed588001a1d6cd5c83a3eefc6ef77c439de40b (diff)
Better API
Diffstat (limited to 'crates/hir_ty')
-rw-r--r--crates/hir_ty/src/test_db.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/crates/hir_ty/src/test_db.rs b/crates/hir_ty/src/test_db.rs
index 15b8435e9..6f61e7dfe 100644
--- a/crates/hir_ty/src/test_db.rs
+++ b/crates/hir_ty/src/test_db.rs
@@ -73,6 +73,9 @@ impl FileLoader for TestDB {
73 fn relevant_crates(&self, file_id: FileId) -> Arc<FxHashSet<CrateId>> { 73 fn relevant_crates(&self, file_id: FileId) -> Arc<FxHashSet<CrateId>> {
74 FileLoaderDelegate(self).relevant_crates(file_id) 74 FileLoaderDelegate(self).relevant_crates(file_id)
75 } 75 }
76 fn possible_sudmobules(&self, module_file: FileId) -> Vec<(FileId, String)> {
77 FileLoaderDelegate(self).possible_sudmobules(module_file)
78 }
76} 79}
77 80
78impl TestDB { 81impl TestDB {