diff options
author | Aleksey Kladov <[email protected]> | 2019-10-30 15:50:10 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-10-30 15:50:10 +0000 |
commit | b05d6e53fb0e9a008dc2e1220b1201818e63ed2d (patch) | |
tree | b3207114d918b50b17adc1db589454fed266eed7 /crates/ra_hir/src | |
parent | 0bc7d285189caaffc13e4d6856baf895f72ed80c (diff) |
push either to hir_expand
Diffstat (limited to 'crates/ra_hir/src')
-rw-r--r-- | crates/ra_hir/src/lib.rs | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/crates/ra_hir/src/lib.rs b/crates/ra_hir/src/lib.rs index f765490b0..989818c0e 100644 --- a/crates/ra_hir/src/lib.rs +++ b/crates/ra_hir/src/lib.rs | |||
@@ -60,6 +60,13 @@ use crate::{ids::MacroFileKind, resolve::Resolver}; | |||
60 | 60 | ||
61 | pub use crate::{ | 61 | pub use crate::{ |
62 | adt::VariantDef, | 62 | adt::VariantDef, |
63 | code_model::{ | ||
64 | docs::{DocDef, Docs, Documentation}, | ||
65 | src::{HasBodySource, HasSource, Source}, | ||
66 | Adt, AssocItem, BuiltinType, Const, ConstData, Container, Crate, CrateDependency, | ||
67 | DefWithBody, Enum, EnumVariant, FieldSource, FnData, Function, HasBody, MacroDef, Module, | ||
68 | ModuleDef, ModuleSource, Static, Struct, StructField, Trait, TypeAlias, Union, | ||
69 | }, | ||
63 | expr::ExprScopes, | 70 | expr::ExprScopes, |
64 | from_source::FromSource, | 71 | from_source::FromSource, |
65 | generics::{GenericDef, GenericParam, GenericParams, HasGenericParams}, | 72 | generics::{GenericDef, GenericParam, GenericParams, HasGenericParams}, |
@@ -73,17 +80,9 @@ pub use crate::{ | |||
73 | }, | 80 | }, |
74 | }; | 81 | }; |
75 | 82 | ||
76 | pub use self::code_model::{ | ||
77 | docs::{DocDef, Docs, Documentation}, | ||
78 | src::{HasBodySource, HasSource, Source}, | ||
79 | Adt, AssocItem, BuiltinType, Const, ConstData, Container, Crate, CrateDependency, DefWithBody, | ||
80 | Enum, EnumVariant, FieldSource, FnData, Function, HasBody, MacroDef, Module, ModuleDef, | ||
81 | ModuleSource, Static, Struct, StructField, Trait, TypeAlias, Union, | ||
82 | }; | ||
83 | |||
84 | pub use hir_def::{ | 83 | pub use hir_def::{ |
85 | either::Either, | ||
86 | name::Name, | 84 | name::Name, |
87 | path::{Path, PathKind}, | 85 | path::{Path, PathKind}, |
88 | type_ref::Mutability, | 86 | type_ref::Mutability, |
89 | }; | 87 | }; |
88 | pub use hir_expand::either::Either; | ||