diff options
Diffstat (limited to 'crates/ra_analysis/src/descriptors/mod.rs')
-rw-r--r-- | crates/ra_analysis/src/descriptors/mod.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/crates/ra_analysis/src/descriptors/mod.rs b/crates/ra_analysis/src/descriptors/mod.rs index 6b56d92e1..97750ea64 100644 --- a/crates/ra_analysis/src/descriptors/mod.rs +++ b/crates/ra_analysis/src/descriptors/mod.rs | |||
@@ -1,10 +1,11 @@ | |||
1 | pub(crate) mod function; | 1 | pub(crate) mod function; |
2 | pub(crate) mod module; | 2 | pub(crate) mod module; |
3 | mod path; | ||
3 | 4 | ||
4 | use std::sync::Arc; | 5 | use std::sync::Arc; |
5 | 6 | ||
6 | use ra_syntax::{ | 7 | use ra_syntax::{ |
7 | ast::{self, AstNode, FnDefNode}, | 8 | ast::{self, FnDefNode, AstNode}, |
8 | TextRange, | 9 | TextRange, |
9 | }; | 10 | }; |
10 | 11 | ||
@@ -18,6 +19,8 @@ use crate::{ | |||
18 | Cancelable, | 19 | Cancelable, |
19 | }; | 20 | }; |
20 | 21 | ||
22 | pub(crate) use self::path::{Path, PathKind}; | ||
23 | |||
21 | salsa::query_group! { | 24 | salsa::query_group! { |
22 | pub(crate) trait DescriptorDatabase: SyntaxDatabase + IdDatabase { | 25 | pub(crate) trait DescriptorDatabase: SyntaxDatabase + IdDatabase { |
23 | fn fn_scopes(fn_id: FnId) -> Arc<FnScopes> { | 26 | fn fn_scopes(fn_id: FnId) -> Arc<FnScopes> { |