From 7de7c8a7efa7af2e3de3a401ea31fb26cad9649b Mon Sep 17 00:00:00 2001 From: Kirill Bulatov Date: Sun, 9 Feb 2020 12:34:41 +0200 Subject: [PATCH] Remove ImportResolver-related stubs --- crates/ra_hir/src/lib.rs | 3 +-- crates/ra_hir_expand/src/name.rs | 7 ------- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/crates/ra_hir/src/lib.rs b/crates/ra_hir/src/lib.rs index 86e4227796c..e1c7b7a2020 100644 --- a/crates/ra_hir/src/lib.rs +++ b/crates/ra_hir/src/lib.rs @@ -58,7 +58,6 @@ pub use hir_def::{ type_ref::Mutability, }; pub use hir_expand::{ - name::{name, Name}, - HirFileId, InFile, MacroCallId, MacroCallLoc, MacroDefId, MacroFile, Origin, + name::Name, HirFileId, InFile, MacroCallId, MacroCallLoc, MacroDefId, MacroFile, Origin, }; pub use hir_ty::{display::HirDisplay, CallableDef}; diff --git a/crates/ra_hir_expand/src/name.rs b/crates/ra_hir_expand/src/name.rs index 133805bdbb0..b2e10f445f3 100644 --- a/crates/ra_hir_expand/src/name.rs +++ b/crates/ra_hir_expand/src/name.rs @@ -187,13 +187,6 @@ pub mod known { PartialOrd, Eq, PartialEq, - // FIXME delete those after `ImportResolver` is removed. - hash, - fmt, - io, - Display, - Iterator, - Hasher, ); // self/Self cannot be used as an identifier