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.rs10
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;
23mod path; 23mod path;
24pub mod source_binder; 24pub mod source_binder;
25 25
26mod source_id;
26mod ids; 27mod ids;
27mod name; 28mod name;
28mod nameres; 29mod nameres;
29mod adt; 30mod adt;
31mod traits;
30mod type_alias; 32mod type_alias;
31mod type_ref; 33mod type_ref;
32mod ty; 34mod ty;
@@ -35,6 +37,7 @@ mod expr;
35mod generics; 37mod generics;
36mod docs; 38mod docs;
37mod resolve; 39mod resolve;
40pub mod diagnostics;
38 41
39mod code_model_api; 42mod code_model_api;
40mod code_model_impl; 43mod code_model_impl;
@@ -45,13 +48,14 @@ mod marks;
45use crate::{ 48use 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
51pub use self::{ 54pub 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
64pub use self::code_model_api::{ 68pub 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,