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_def/src/test_db.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crates/hir_def/src') diff --git a/crates/hir_def/src/test_db.rs b/crates/hir_def/src/test_db.rs index a35ed4f3c..5bcfaf464 100644 --- a/crates/hir_def/src/test_db.rs +++ b/crates/hir_def/src/test_db.rs @@ -63,8 +63,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