mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 22:54:58 +00:00
add item map query
This commit is contained in:
parent
9bb11aee44
commit
36aad85138
4 changed files with 23 additions and 8 deletions
|
@ -8,7 +8,7 @@ use crate::{
|
|||
db,
|
||||
descriptors::{
|
||||
DescriptorDatabase, FnScopesQuery, FnSyntaxQuery, ModuleScopeQuery, ModuleTreeQuery,
|
||||
SubmodulesQuery,
|
||||
SubmodulesQuery, ItemMapQuery,
|
||||
},
|
||||
symbol_index::SymbolIndex,
|
||||
syntax_ptr::SyntaxPtr,
|
||||
|
@ -85,8 +85,9 @@ salsa::database_storage! {
|
|||
}
|
||||
impl DescriptorDatabase {
|
||||
fn module_tree() for ModuleTreeQuery;
|
||||
fn module_scope() for ModuleScopeQuery;
|
||||
fn fn_scopes() for FnScopesQuery;
|
||||
fn _item_map() for ItemMapQuery;
|
||||
fn _module_scope() for ModuleScopeQuery;
|
||||
fn _fn_syntax() for FnSyntaxQuery;
|
||||
fn _submodules() for SubmodulesQuery;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue