diff options
Diffstat (limited to 'crates/ra_hir/src/lib.rs')
-rw-r--r-- | crates/ra_hir/src/lib.rs | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/crates/ra_hir/src/lib.rs b/crates/ra_hir/src/lib.rs index 2fa357fec..7e74f2eaf 100644 --- a/crates/ra_hir/src/lib.rs +++ b/crates/ra_hir/src/lib.rs | |||
@@ -24,7 +24,8 @@ pub mod source_binder; | |||
24 | mod ids; | 24 | mod ids; |
25 | mod macros; | 25 | mod macros; |
26 | mod name; | 26 | mod name; |
27 | mod module; | 27 | mod module_tree; |
28 | mod nameres; | ||
28 | mod function; | 29 | mod function; |
29 | mod adt; | 30 | mod adt; |
30 | mod type_ref; | 31 | mod type_ref; |
@@ -32,14 +33,13 @@ mod ty; | |||
32 | mod impl_block; | 33 | mod impl_block; |
33 | mod expr; | 34 | mod expr; |
34 | 35 | ||
35 | pub mod code_model_api; | 36 | mod code_model_api; |
36 | mod code_model_impl; | 37 | mod code_model_impl; |
37 | 38 | ||
38 | use crate::{ | 39 | use crate::{ |
39 | db::HirDatabase, | 40 | db::HirDatabase, |
40 | name::{AsName, KnownName}, | 41 | name::{AsName, KnownName}, |
41 | ids::{DefKind, SourceItemId, SourceFileItemId, SourceFileItems}, | 42 | ids::{DefKind, SourceItemId, SourceFileItemId, SourceFileItems}, |
42 | code_model_api::{Crate, CrateDependency} | ||
43 | }; | 43 | }; |
44 | 44 | ||
45 | pub use self::{ | 45 | pub use self::{ |
@@ -56,7 +56,10 @@ pub use self::{ | |||
56 | 56 | ||
57 | pub use self::function::FnSignatureInfo; | 57 | pub use self::function::FnSignatureInfo; |
58 | 58 | ||
59 | pub use self::code_model_api::Module; | 59 | pub use self::code_model_api::{ |
60 | Crate, CrateDependency, | ||
61 | Module, ModuleSource, Problem, | ||
62 | }; | ||
60 | 63 | ||
61 | pub enum Def { | 64 | pub enum Def { |
62 | Module(Module), | 65 | Module(Module), |