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.rs22
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;
31pub mod db; 31pub mod db;
32pub mod source_binder; 32pub mod source_binder;
33 33
34mod ids;
35mod type_alias;
36mod ty; 34mod ty;
37mod impl_block;
38mod expr; 35mod expr;
39mod lang_item;
40pub mod diagnostics; 36pub mod diagnostics;
41mod util; 37mod util;
42 38
@@ -52,17 +48,13 @@ mod marks;
52 48
53pub use crate::{ 49pub 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
74pub use hir_def::{ 66pub 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};
80pub use hir_expand::{either::Either, name::Name, Source}; 72pub use hir_expand::{
73 either::Either, name::Name, HirFileId, MacroCallId, MacroCallLoc, MacroDefId, MacroFile, Source,
74};