From b8b7969bfb261fa86b4c38024f873444145fe7a2 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Tue, 29 Oct 2019 15:53:25 +0300 Subject: remove empty module --- crates/ra_hir/src/lib.rs | 15 ++++++--------- crates/ra_hir/src/source_id.rs | 6 ------ 2 files changed, 6 insertions(+), 15 deletions(-) delete mode 100644 crates/ra_hir/src/source_id.rs 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; mod path; pub mod source_binder; -mod source_id; mod ids; mod name; mod nameres; @@ -60,14 +59,13 @@ pub mod from_source; #[cfg(test)] mod marks; -use crate::{ - ids::MacroFileKind, - name::AsName, - resolve::Resolver, - source_id::{AstId, FileAstId}, -}; +use hir_expand::{ast_id_map::FileAstId, AstId}; + +use crate::{ids::MacroFileKind, name::AsName, resolve::Resolver}; + +use hir_expand::ast_id_map::AstIdMap; -pub use self::{ +pub use crate::{ adt::VariantDef, either::Either, expr::ExprScopes, @@ -80,7 +78,6 @@ pub use self::{ path::{Path, PathKind}, resolve::ScopeDef, source_binder::{PathResolution, ScopeEntryWithSyntax, SourceAnalyzer}, - source_id::AstIdMap, ty::{ display::HirDisplay, ApplicationTy, CallableDef, Substs, TraitRef, Ty, TypeCtor, TypeWalk, }, 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 @@ -//! FIXME: write short doc here - -pub use hir_expand::{ - ast_id_map::{AstIdMap, FileAstId}, - AstId, -}; -- cgit v1.2.3