aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_analysis/src/descriptors/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_analysis/src/descriptors/mod.rs')
-rw-r--r--crates/ra_analysis/src/descriptors/mod.rs5
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 @@
1pub(crate) mod function; 1pub(crate) mod function;
2pub(crate) mod module; 2pub(crate) mod module;
3mod path;
3 4
4use std::sync::Arc; 5use std::sync::Arc;
5 6
6use ra_syntax::{ 7use 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
22pub(crate) use self::path::{Path, PathKind};
23
21salsa::query_group! { 24salsa::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> {