mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 21:05:02 +00:00
Speed up completion
This commit is contained in:
parent
349c4fceca
commit
a36ff4a100
8 changed files with 19 additions and 20 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue