diff options
Diffstat (limited to 'crates/ra_analysis/src/hir/mod.rs')
-rw-r--r-- | crates/ra_analysis/src/hir/mod.rs | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/crates/ra_analysis/src/hir/mod.rs b/crates/ra_analysis/src/hir/mod.rs index 232a8558b..edeaeb8e6 100644 --- a/crates/ra_analysis/src/hir/mod.rs +++ b/crates/ra_analysis/src/hir/mod.rs | |||
@@ -21,7 +21,7 @@ use crate::{ | |||
21 | db::SyntaxDatabase, | 21 | db::SyntaxDatabase, |
22 | hir::function::{resolve_local_name, FnId, FnScopes}, | 22 | hir::function::{resolve_local_name, FnId, FnScopes}, |
23 | hir::module::{ | 23 | hir::module::{ |
24 | ModuleId, ModuleTree, ModuleSource, ModuleDescriptor, | 24 | ModuleId, ModuleTree, ModuleSource, |
25 | nameres::{ItemMap, InputModuleItems, FileItems} | 25 | nameres::{ItemMap, InputModuleItems, FileItems} |
26 | }, | 26 | }, |
27 | input::SourceRootId, | 27 | input::SourceRootId, |
@@ -30,8 +30,11 @@ use crate::{ | |||
30 | Cancelable, | 30 | Cancelable, |
31 | }; | 31 | }; |
32 | 32 | ||
33 | pub(crate) use self::path::{Path, PathKind}; | 33 | pub(crate) use self::{ |
34 | pub(crate) use self::module::nameres::FileItemId; | 34 | path::{Path, PathKind}, |
35 | module::{ModuleDescriptor, nameres::FileItemId}, | ||
36 | function::FunctionDescriptor, | ||
37 | }; | ||
35 | 38 | ||
36 | salsa::query_group! { | 39 | salsa::query_group! { |
37 | pub(crate) trait HirDatabase: SyntaxDatabase + IdDatabase { | 40 | pub(crate) trait HirDatabase: SyntaxDatabase + IdDatabase { |