aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--crates/ra_hir/src/source_binder.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/ra_hir/src/source_binder.rs b/crates/ra_hir/src/source_binder.rs
index a764c54c0..182bc36ff 100644
--- a/crates/ra_hir/src/source_binder.rs
+++ b/crates/ra_hir/src/source_binder.rs
@@ -274,6 +274,7 @@ impl SourceAnalyzer {
274 None 274 None
275 }); 275 });
276 SourceAnalyzer { 276 SourceAnalyzer {
277 //TODO: use scope_for_offset here to get correct scope for completion
277 resolver: resolver_for_node(db, file_id, node), 278 resolver: resolver_for_node(db, file_id, node),
278 body_source_map: def_with_body.map(|it| it.body_source_map(db)), 279 body_source_map: def_with_body.map(|it| it.body_source_map(db)),
279 infer: def_with_body.map(|it| it.infer(db)), 280 infer: def_with_body.map(|it| it.infer(db)),