diff options
Diffstat (limited to 'crates/ra_hir/src/lib.rs')
-rw-r--r-- | crates/ra_hir/src/lib.rs | 22 |
1 files changed, 8 insertions, 14 deletions
diff --git a/crates/ra_hir/src/lib.rs b/crates/ra_hir/src/lib.rs index 8c6834392..843ce6a88 100644 --- a/crates/ra_hir/src/lib.rs +++ b/crates/ra_hir/src/lib.rs | |||
@@ -31,12 +31,8 @@ pub mod debug; | |||
31 | pub mod db; | 31 | pub mod db; |
32 | pub mod source_binder; | 32 | pub mod source_binder; |
33 | 33 | ||
34 | mod ids; | ||
35 | mod type_alias; | ||
36 | mod ty; | 34 | mod ty; |
37 | mod impl_block; | ||
38 | mod expr; | 35 | mod expr; |
39 | mod lang_item; | ||
40 | pub mod diagnostics; | 36 | pub mod diagnostics; |
41 | mod util; | 37 | mod util; |
42 | 38 | ||
@@ -52,17 +48,13 @@ mod marks; | |||
52 | 48 | ||
53 | pub use crate::{ | 49 | pub use crate::{ |
54 | code_model::{ | 50 | code_model::{ |
55 | attrs::{AttrDef, Attrs}, | 51 | src::HasSource, Adt, AssocItem, AttrDef, Const, Container, Crate, CrateDependency, |
56 | docs::{DocDef, Docs, Documentation}, | 52 | DefWithBody, Docs, Enum, EnumVariant, FieldSource, Function, GenericDef, GenericParam, |
57 | src::{HasBodySource, HasSource}, | 53 | HasAttrs, ImplBlock, Import, Local, MacroDef, Module, ModuleDef, ModuleSource, ScopeDef, |
58 | Adt, AssocItem, Const, ConstData, Container, Crate, CrateDependency, DefWithBody, Enum, | 54 | Static, Struct, StructField, Trait, TypeAlias, Union, VariantDef, |
59 | EnumVariant, FieldSource, FnData, Function, GenericDef, GenericParam, HasBody, ImplBlock, | ||
60 | Local, MacroDef, Module, ModuleDef, ModuleSource, ScopeDef, Static, Struct, StructField, | ||
61 | Trait, TypeAlias, Union, VariantDef, | ||
62 | }, | 55 | }, |
63 | expr::ExprScopes, | 56 | expr::ExprScopes, |
64 | from_source::FromSource, | 57 | from_source::FromSource, |
65 | ids::{HirFileId, MacroCallId, MacroCallLoc, MacroDefId, MacroFile}, | ||
66 | source_binder::{PathResolution, ScopeEntryWithSyntax, SourceAnalyzer}, | 58 | source_binder::{PathResolution, ScopeEntryWithSyntax, SourceAnalyzer}, |
67 | ty::{ | 59 | ty::{ |
68 | display::HirDisplay, | 60 | display::HirDisplay, |
@@ -73,8 +65,10 @@ pub use crate::{ | |||
73 | 65 | ||
74 | pub use hir_def::{ | 66 | pub use hir_def::{ |
75 | builtin_type::BuiltinType, | 67 | builtin_type::BuiltinType, |
76 | nameres::{per_ns::PerNs, raw::ImportId}, | 68 | docs::Documentation, |
77 | path::{Path, PathKind}, | 69 | path::{Path, PathKind}, |
78 | type_ref::Mutability, | 70 | type_ref::Mutability, |
79 | }; | 71 | }; |
80 | pub use hir_expand::{either::Either, name::Name, Source}; | 72 | pub use hir_expand::{ |
73 | either::Either, name::Name, HirFileId, MacroCallId, MacroCallLoc, MacroDefId, MacroFile, Source, | ||
74 | }; | ||