aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2019-01-15 17:56:06 +0000
committerAleksey Kladov <[email protected]>2019-01-15 17:56:06 +0000
commit02c3d2f78eeea41c6de8430c2a34b38e1cdb861b (patch)
treed3c4cd4da2408bd1c07519880a4f5edb966890d0 /crates/ra_ide_api
parent8ba9c2d4cedbcf8f1d2c644733d2b06fa1984d22 (diff)
hir is cancelation free
Diffstat (limited to 'crates/ra_ide_api')
-rw-r--r--crates/ra_ide_api/src/imp.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_ide_api/src/imp.rs b/crates/ra_ide_api/src/imp.rs
index 8b2cd6e27..391df2695 100644
--- a/crates/ra_ide_api/src/imp.rs
+++ b/crates/ra_ide_api/src/imp.rs
@@ -180,7 +180,7 @@ impl db::RootDatabase {
180 }) 180 })
181 .collect::<Vec<_>>(); 181 .collect::<Vec<_>>();
182 if let Some(m) = source_binder::module_from_file_id(self, file_id) { 182 if let Some(m) = source_binder::module_from_file_id(self, file_id) {
183 for (name_node, problem) in m.problems(self)? { 183 for (name_node, problem) in m.problems(self) {
184 let source_root = self.file_source_root(file_id); 184 let source_root = self.file_source_root(file_id);
185 let diag = match problem { 185 let diag = match problem {
186 Problem::UnresolvedModule { candidate } => { 186 Problem::UnresolvedModule { candidate } => {