diff options
author | Aleksey Kladov <[email protected]> | 2020-07-11 00:26:24 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-07-11 00:26:24 +0100 |
commit | a36ff4a100c2c321eec898f2cfee25c0be85ffc6 (patch) | |
tree | 107769c5884b71e865b7efe44604cfad979e1f72 /crates/ra_hir/src | |
parent | 349c4fcecaab90a521d4344cf965202ed7a0a54e (diff) |
Speed up completion
Diffstat (limited to 'crates/ra_hir/src')
-rw-r--r-- | crates/ra_hir/src/semantics.rs | 1 |
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)] | ||
571 | pub struct SemanticsScope<'a> { | 572 | pub struct SemanticsScope<'a> { |
572 | pub db: &'a dyn HirDatabase, | 573 | pub db: &'a dyn HirDatabase, |
573 | resolver: Resolver, | 574 | resolver: Resolver, |