mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-03 07:04:49 +00:00
simple test for item map
This commit is contained in:
parent
36aad85138
commit
02c4f82348
4 changed files with 118 additions and 17 deletions
|
@ -8,7 +8,7 @@ use crate::{
|
|||
db,
|
||||
descriptors::{
|
||||
DescriptorDatabase, FnScopesQuery, FnSyntaxQuery, ModuleScopeQuery, ModuleTreeQuery,
|
||||
SubmodulesQuery, ItemMapQuery,
|
||||
SubmodulesQuery, ItemMapQuery, InputModuleItemsQuery,
|
||||
},
|
||||
symbol_index::SymbolIndex,
|
||||
syntax_ptr::SyntaxPtr,
|
||||
|
@ -86,6 +86,7 @@ salsa::database_storage! {
|
|||
impl DescriptorDatabase {
|
||||
fn module_tree() for ModuleTreeQuery;
|
||||
fn fn_scopes() for FnScopesQuery;
|
||||
fn _input_module_items() for InputModuleItemsQuery;
|
||||
fn _item_map() for ItemMapQuery;
|
||||
fn _module_scope() for ModuleScopeQuery;
|
||||
fn _fn_syntax() for FnSyntaxQuery;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue