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