diff options
Diffstat (limited to 'crates/ra_hir/src/lib.rs')
-rw-r--r-- | crates/ra_hir/src/lib.rs | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/crates/ra_hir/src/lib.rs b/crates/ra_hir/src/lib.rs index a89c916f8..7c603bbd3 100644 --- a/crates/ra_hir/src/lib.rs +++ b/crates/ra_hir/src/lib.rs | |||
@@ -23,10 +23,12 @@ pub mod mock; | |||
23 | mod path; | 23 | mod path; |
24 | pub mod source_binder; | 24 | pub mod source_binder; |
25 | 25 | ||
26 | mod source_id; | ||
26 | mod ids; | 27 | mod ids; |
27 | mod name; | 28 | mod name; |
28 | mod nameres; | 29 | mod nameres; |
29 | mod adt; | 30 | mod adt; |
31 | mod traits; | ||
30 | mod type_alias; | 32 | mod type_alias; |
31 | mod type_ref; | 33 | mod type_ref; |
32 | mod ty; | 34 | mod ty; |
@@ -35,6 +37,7 @@ mod expr; | |||
35 | mod generics; | 37 | mod generics; |
36 | mod docs; | 38 | mod docs; |
37 | mod resolve; | 39 | mod resolve; |
40 | pub mod diagnostics; | ||
38 | 41 | ||
39 | mod code_model_api; | 42 | mod code_model_api; |
40 | mod code_model_impl; | 43 | mod code_model_impl; |
@@ -45,13 +48,14 @@ mod marks; | |||
45 | use crate::{ | 48 | use crate::{ |
46 | db::{HirDatabase, DefDatabase}, | 49 | db::{HirDatabase, DefDatabase}, |
47 | name::{AsName, KnownName}, | 50 | name::{AsName, KnownName}, |
48 | ids::{SourceItemId, SourceFileItems}, | 51 | source_id::{FileAstId, AstId}, |
49 | }; | 52 | }; |
50 | 53 | ||
51 | pub use self::{ | 54 | pub use self::{ |
52 | path::{Path, PathKind}, | 55 | path::{Path, PathKind}, |
53 | name::Name, | 56 | name::Name, |
54 | ids::{HirFileId, MacroCallId, MacroCallLoc, HirInterner}, | 57 | source_id::{AstIdMap, ErasedFileAstId}, |
58 | ids::{HirFileId, MacroDefId, MacroCallId, MacroCallLoc, HirInterner}, | ||
55 | nameres::{PerNs, Namespace}, | 59 | nameres::{PerNs, Namespace}, |
56 | ty::{Ty, ApplicationTy, TypeCtor, Substs, display::HirDisplay}, | 60 | ty::{Ty, ApplicationTy, TypeCtor, Substs, display::HirDisplay}, |
57 | impl_block::{ImplBlock, ImplItem}, | 61 | impl_block::{ImplBlock, ImplItem}, |
@@ -63,7 +67,7 @@ pub use self::{ | |||
63 | 67 | ||
64 | pub use self::code_model_api::{ | 68 | pub use self::code_model_api::{ |
65 | Crate, CrateDependency, | 69 | Crate, CrateDependency, |
66 | Module, ModuleDef, ModuleSource, Problem, | 70 | Module, ModuleDef, ModuleSource, |
67 | Struct, Enum, EnumVariant, | 71 | Struct, Enum, EnumVariant, |
68 | Function, FnSignature, | 72 | Function, FnSignature, |
69 | StructField, FieldSource, | 73 | StructField, FieldSource, |