From 8aa740dab46f138cacdf6391d46c87d6df810161 Mon Sep 17 00:00:00 2001 From: Kirill Bulatov Date: Fri, 4 Sep 2020 02:25:00 +0300 Subject: Happy path implemented --- crates/hir_ty/src/test_db.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crates/hir_ty/src') diff --git a/crates/hir_ty/src/test_db.rs b/crates/hir_ty/src/test_db.rs index 6f61e7dfe..0696f41dd 100644 --- a/crates/hir_ty/src/test_db.rs +++ b/crates/hir_ty/src/test_db.rs @@ -73,8 +73,8 @@ impl FileLoader for TestDB { fn relevant_crates(&self, file_id: FileId) -> Arc> { FileLoaderDelegate(self).relevant_crates(file_id) } - fn possible_sudmobules(&self, module_file: FileId) -> Vec<(FileId, String)> { - FileLoaderDelegate(self).possible_sudmobules(module_file) + fn possible_sudmobule_names(&self, module_file: FileId) -> Vec { + FileLoaderDelegate(self).possible_sudmobule_names(module_file) } } -- cgit v1.2.3