diff options
Diffstat (limited to 'crates')
-rw-r--r-- | crates/ra_hir/src/lib.rs | 15 | ||||
-rw-r--r-- | crates/ra_hir/src/source_id.rs | 6 |
2 files changed, 6 insertions, 15 deletions
diff --git a/crates/ra_hir/src/lib.rs b/crates/ra_hir/src/lib.rs index 227e93183..5762b9e52 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,13 @@ 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::{ast_id_map::FileAstId, AstId}; |
64 | ids::MacroFileKind, | 63 | |
65 | name::AsName, | 64 | use crate::{ids::MacroFileKind, name::AsName, resolve::Resolver}; |
66 | resolve::Resolver, | 65 | |
67 | source_id::{AstId, FileAstId}, | 66 | use hir_expand::ast_id_map::AstIdMap; |
68 | }; | ||
69 | 67 | ||
70 | pub use self::{ | 68 | pub use crate::{ |
71 | adt::VariantDef, | 69 | adt::VariantDef, |
72 | either::Either, | 70 | either::Either, |
73 | expr::ExprScopes, | 71 | expr::ExprScopes, |
@@ -80,7 +78,6 @@ pub use self::{ | |||
80 | path::{Path, PathKind}, | 78 | path::{Path, PathKind}, |
81 | resolve::ScopeDef, | 79 | resolve::ScopeDef, |
82 | source_binder::{PathResolution, ScopeEntryWithSyntax, SourceAnalyzer}, | 80 | source_binder::{PathResolution, ScopeEntryWithSyntax, SourceAnalyzer}, |
83 | source_id::AstIdMap, | ||
84 | ty::{ | 81 | ty::{ |
85 | display::HirDisplay, ApplicationTy, CallableDef, Substs, TraitRef, Ty, TypeCtor, TypeWalk, | 82 | display::HirDisplay, ApplicationTy, CallableDef, Substs, TraitRef, Ty, TypeCtor, TypeWalk, |
86 | }, | 83 | }, |
diff --git a/crates/ra_hir/src/source_id.rs b/crates/ra_hir/src/source_id.rs deleted file mode 100644 index 463b1d453..000000000 --- a/crates/ra_hir/src/source_id.rs +++ /dev/null | |||
@@ -1,6 +0,0 @@ | |||
1 | //! FIXME: write short doc here | ||
2 | |||
3 | pub use hir_expand::{ | ||
4 | ast_id_map::{AstIdMap, FileAstId}, | ||
5 | AstId, | ||
6 | }; | ||