From 2090b534fc249a493823bb8e9039c0123aa0b90e Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Tue, 6 Oct 2020 16:19:18 +0200 Subject: Move ModPath->ast::Path function to IDE layer closes #6092 --- crates/hir/src/lib.rs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'crates/hir/src') diff --git a/crates/hir/src/lib.rs b/crates/hir/src/lib.rs index 87084fa13..171118d98 100644 --- a/crates/hir/src/lib.rs +++ b/crates/hir/src/lib.rs @@ -51,7 +51,7 @@ pub use hir_def::{ find_path::PrefixKind, item_scope::ItemInNs, nameres::ModuleSource, - path::ModPath, + path::{ModPath, PathKind}, type_ref::{Mutability, TypeRef}, }; pub use hir_expand::{ @@ -63,7 +63,4 @@ pub use hir_ty::display::HirDisplay; // These are negative re-exports: pub using these names is forbidden, they // should remain private to hir internals. #[allow(unused)] -use { - hir_def::path::{Path, PathKind}, - hir_expand::hygiene::Hygiene, -}; +use {hir_def::path::Path, hir_expand::hygiene::Hygiene}; -- cgit v1.2.3