mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-03 07:04:49 +00:00
Add ModuleScope as a query
This is a first step towards queryifing completion and resolve. Some code currently duplicates ra_editor: the plan is to move all completion from ra_editor, but it'll take more than one commit.
This commit is contained in:
parent
d10214581e
commit
fbbee53722
8 changed files with 223 additions and 22 deletions
|
@ -1,3 +1,5 @@
|
|||
/// FIXME: move completion from ra_editor to ra_analysis
|
||||
|
||||
use rustc_hash::{FxHashMap, FxHashSet};
|
||||
|
||||
use ra_syntax::{
|
||||
|
|
|
@ -1,3 +1,9 @@
|
|||
/// FIXME: this is now moved to ra_analysis::descriptors::module::scope.
|
||||
///
|
||||
/// Current copy will be deleted as soon as we move the rest of the completion
|
||||
/// to the analyezer.
|
||||
|
||||
|
||||
use ra_syntax::{
|
||||
ast::{self, AstChildren},
|
||||
AstNode, SmolStr, SyntaxNode, SyntaxNodeRef,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue