From 68ff52566d44e916868de1b52a9688182c26ebde Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Tue, 15 Jan 2019 17:55:15 +0300 Subject: remove Cancelable from module_tree_query --- crates/ra_hir/src/code_model_impl/krate.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/ra_hir/src/code_model_impl/krate.rs') diff --git a/crates/ra_hir/src/code_model_impl/krate.rs b/crates/ra_hir/src/code_model_impl/krate.rs index 3275eafed..712c6c86a 100644 --- a/crates/ra_hir/src/code_model_impl/krate.rs +++ b/crates/ra_hir/src/code_model_impl/krate.rs @@ -25,7 +25,7 @@ impl Crate { let file_id = crate_graph.crate_root(self.crate_id); let source_root_id = db.file_source_root(file_id); let file_id = HirFileId::from(file_id); - let module_tree = db.module_tree(source_root_id)?; + let module_tree = db.module_tree(source_root_id); // FIXME: teach module tree about crate roots instead of guessing let source = SourceItemId { file_id, -- cgit v1.2.3