aboutsummaryrefslogtreecommitdiff
path: root/crates/hir_expand/src/test_db.rs
diff options
context:
space:
mode:
authorKirill Bulatov <[email protected]>2020-09-04 00:25:00 +0100
committerKirill Bulatov <[email protected]>2020-09-09 23:42:20 +0100
commit8aa740dab46f138cacdf6391d46c87d6df810161 (patch)
tree09e2067cc9480dd500fdd648123ae9076ae0d4d8 /crates/hir_expand/src/test_db.rs
parent0de71f7bc9482c9d1ef7e9d36ec5d6c5fd378781 (diff)
Happy path implemented
Diffstat (limited to 'crates/hir_expand/src/test_db.rs')
-rw-r--r--crates/hir_expand/src/test_db.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/hir_expand/src/test_db.rs b/crates/hir_expand/src/test_db.rs
index a0d1525b0..cf42dde7a 100644
--- a/crates/hir_expand/src/test_db.rs
+++ b/crates/hir_expand/src/test_db.rs
@@ -46,7 +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)> { 49 fn possible_sudmobule_names(&self, module_file: FileId) -> Vec<String> {
50 FileLoaderDelegate(self).possible_sudmobules(module_file) 50 FileLoaderDelegate(self).possible_sudmobule_names(module_file)
51 } 51 }
52} 52}