aboutsummaryrefslogtreecommitdiff
path: root/crates/hir
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-10-06 15:19:18 +0100
committerAleksey Kladov <[email protected]>2020-10-06 15:19:18 +0100
commit2090b534fc249a493823bb8e9039c0123aa0b90e (patch)
treef6f8469d5e4bbd37655aabb75edf32a392b0ed0c /crates/hir
parent9507a01e9e76afca9f6f8d460089fc199703b820 (diff)
Move ModPath->ast::Path function to IDE layer
closes #6092
Diffstat (limited to 'crates/hir')
-rw-r--r--crates/hir/src/lib.rs7
1 files changed, 2 insertions, 5 deletions
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::{
51 find_path::PrefixKind, 51 find_path::PrefixKind,
52 item_scope::ItemInNs, 52 item_scope::ItemInNs,
53 nameres::ModuleSource, 53 nameres::ModuleSource,
54 path::ModPath, 54 path::{ModPath, PathKind},
55 type_ref::{Mutability, TypeRef}, 55 type_ref::{Mutability, TypeRef},
56}; 56};
57pub use hir_expand::{ 57pub use hir_expand::{
@@ -63,7 +63,4 @@ pub use hir_ty::display::HirDisplay;
63// These are negative re-exports: pub using these names is forbidden, they 63// These are negative re-exports: pub using these names is forbidden, they
64// should remain private to hir internals. 64// should remain private to hir internals.
65#[allow(unused)] 65#[allow(unused)]
66use { 66use {hir_def::path::Path, hir_expand::hygiene::Hygiene};
67 hir_def::path::{Path, PathKind},
68 hir_expand::hygiene::Hygiene,
69};