diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2019-10-29 13:19:45 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2019-10-29 13:19:45 +0000 |
commit | e38cdf6e56d963525fcc656b80965e7114756496 (patch) | |
tree | 4ca01adaa4ade6e90d7bcf20748dd691cdb5151d /crates/ra_hir/src/lib.rs | |
parent | e960414a4d2a654898e697d267a5d95eb93271a0 (diff) | |
parent | bca708ba4c5eb474448ef2f2882a66ec935f2fee (diff) |
Merge #2114
2114: Move macro expansion to a separate crate r=matklad a=matklad
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_hir/src/lib.rs')
-rw-r--r-- | crates/ra_hir/src/lib.rs | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/crates/ra_hir/src/lib.rs b/crates/ra_hir/src/lib.rs index ca261e8f5..0f2d233bb 100644 --- a/crates/ra_hir/src/lib.rs +++ b/crates/ra_hir/src/lib.rs | |||
@@ -35,7 +35,6 @@ pub mod mock; | |||
35 | mod path; | 35 | mod path; |
36 | pub mod source_binder; | 36 | pub mod source_binder; |
37 | 37 | ||
38 | mod source_id; | ||
39 | mod ids; | 38 | mod ids; |
40 | mod name; | 39 | mod name; |
41 | mod nameres; | 40 | mod nameres; |
@@ -60,14 +59,14 @@ pub mod from_source; | |||
60 | #[cfg(test)] | 59 | #[cfg(test)] |
61 | mod marks; | 60 | mod marks; |
62 | 61 | ||
63 | use crate::{ | 62 | use hir_expand::{ |
64 | ids::MacroFileKind, | 63 | ast_id_map::{AstIdMap, FileAstId}, |
65 | name::AsName, | 64 | AstId, |
66 | resolve::Resolver, | ||
67 | source_id::{AstId, FileAstId}, | ||
68 | }; | 65 | }; |
69 | 66 | ||
70 | pub use self::{ | 67 | use crate::{ids::MacroFileKind, name::AsName, resolve::Resolver}; |
68 | |||
69 | pub use crate::{ | ||
71 | adt::VariantDef, | 70 | adt::VariantDef, |
72 | either::Either, | 71 | either::Either, |
73 | expr::ExprScopes, | 72 | expr::ExprScopes, |
@@ -80,7 +79,6 @@ pub use self::{ | |||
80 | path::{Path, PathKind}, | 79 | path::{Path, PathKind}, |
81 | resolve::ScopeDef, | 80 | resolve::ScopeDef, |
82 | source_binder::{PathResolution, ScopeEntryWithSyntax, SourceAnalyzer}, | 81 | source_binder::{PathResolution, ScopeEntryWithSyntax, SourceAnalyzer}, |
83 | source_id::{AstIdMap, ErasedFileAstId}, | ||
84 | ty::{ | 82 | ty::{ |
85 | display::HirDisplay, ApplicationTy, CallableDef, Substs, TraitRef, Ty, TypeCtor, TypeWalk, | 83 | display::HirDisplay, ApplicationTy, CallableDef, Substs, TraitRef, Ty, TypeCtor, TypeWalk, |
86 | }, | 84 | }, |