aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-07-11 00:26:24 +0100
committerAleksey Kladov <[email protected]>2020-07-11 00:26:24 +0100
commita36ff4a100c2c321eec898f2cfee25c0be85ffc6 (patch)
tree107769c5884b71e865b7efe44604cfad979e1f72 /crates/ra_hir/src
parent349c4fcecaab90a521d4344cf965202ed7a0a54e (diff)
Speed up completion
Diffstat (limited to 'crates/ra_hir/src')
-rw-r--r--crates/ra_hir/src/semantics.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/ra_hir/src/semantics.rs b/crates/ra_hir/src/semantics.rs
index 0d877e44e..4a16ac566 100644
--- a/crates/ra_hir/src/semantics.rs
+++ b/crates/ra_hir/src/semantics.rs
@@ -568,6 +568,7 @@ fn find_root(node: &SyntaxNode) -> SyntaxNode {
568 node.ancestors().last().unwrap() 568 node.ancestors().last().unwrap()
569} 569}
570 570
571#[derive(Debug)]
571pub struct SemanticsScope<'a> { 572pub struct SemanticsScope<'a> {
572 pub db: &'a dyn HirDatabase, 573 pub db: &'a dyn HirDatabase,
573 resolver: Resolver, 574 resolver: Resolver,