diff options
author | Kirill Bulatov <[email protected]> | 2020-09-03 21:18:23 +0100 |
---|---|---|
committer | Kirill Bulatov <[email protected]> | 2020-09-09 23:42:20 +0100 |
commit | 17870a3e2c39770a99f9ab5ce090abbe1dc334d2 (patch) | |
tree | 85e98d57518fd2735820e9b70f16a7e2ab54d082 /crates/hir_ty/src | |
parent | 4bed588001a1d6cd5c83a3eefc6ef77c439de40b (diff) |
Better API
Diffstat (limited to 'crates/hir_ty/src')
-rw-r--r-- | crates/hir_ty/src/test_db.rs | 3 |
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 | ||
78 | impl TestDB { | 81 | impl TestDB { |