aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_hir/src/lib.rs')
-rw-r--r--crates/ra_hir/src/lib.rs11
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;
24mod ids; 24mod ids;
25mod macros; 25mod macros;
26mod name; 26mod name;
27mod module; 27mod module_tree;
28mod nameres;
28mod function; 29mod function;
29mod adt; 30mod adt;
30mod type_ref; 31mod type_ref;
@@ -32,14 +33,13 @@ mod ty;
32mod impl_block; 33mod impl_block;
33mod expr; 34mod expr;
34 35
35pub mod code_model_api; 36mod code_model_api;
36mod code_model_impl; 37mod code_model_impl;
37 38
38use crate::{ 39use 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
45pub use self::{ 45pub use self::{
@@ -56,7 +56,10 @@ pub use self::{
56 56
57pub use self::function::FnSignatureInfo; 57pub use self::function::FnSignatureInfo;
58 58
59pub use self::code_model_api::Module; 59pub use self::code_model_api::{
60 Crate, CrateDependency,
61 Module, ModuleSource, Problem,
62};
60 63
61pub enum Def { 64pub enum Def {
62 Module(Module), 65 Module(Module),