Speed up completion

This commit is contained in:
Aleksey Kladov 2020-07-11 01:26:24 +02:00
parent 349c4fceca
commit a36ff4a100
8 changed files with 19 additions and 20 deletions

View file

@ -568,6 +568,7 @@ fn find_root(node: &SyntaxNode) -> SyntaxNode {
node.ancestors().last().unwrap()
}
#[derive(Debug)]
pub struct SemanticsScope<'a> {
pub db: &'a dyn HirDatabase,
resolver: Resolver,