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_expand/src | |
parent | 4bed588001a1d6cd5c83a3eefc6ef77c439de40b (diff) |
Better API
Diffstat (limited to 'crates/hir_expand/src')
-rw-r--r-- | crates/hir_expand/src/test_db.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crates/hir_expand/src/test_db.rs b/crates/hir_expand/src/test_db.rs index 86a5d867e..a0d1525b0 100644 --- a/crates/hir_expand/src/test_db.rs +++ b/crates/hir_expand/src/test_db.rs | |||
@@ -46,4 +46,7 @@ impl FileLoader for TestDB { | |||
46 | fn relevant_crates(&self, file_id: FileId) -> Arc<FxHashSet<CrateId>> { | 46 | fn relevant_crates(&self, file_id: FileId) -> Arc<FxHashSet<CrateId>> { |
47 | FileLoaderDelegate(self).relevant_crates(file_id) | 47 | FileLoaderDelegate(self).relevant_crates(file_id) |
48 | } | 48 | } |
49 | fn possible_sudmobules(&self, module_file: FileId) -> Vec<(FileId, String)> { | ||
50 | FileLoaderDelegate(self).possible_sudmobules(module_file) | ||
51 | } | ||
49 | } | 52 | } |