aboutsummaryrefslogtreecommitdiff
path: root/crates/hir
diff options
context:
space:
mode:
Diffstat (limited to 'crates/hir')
-rw-r--r--crates/hir/src/lib.rs7
1 files changed, 5 insertions, 2 deletions
diff --git a/crates/hir/src/lib.rs b/crates/hir/src/lib.rs
index a38e20300..62692c2c1 100644
--- a/crates/hir/src/lib.rs
+++ b/crates/hir/src/lib.rs
@@ -96,7 +96,7 @@ pub use {
96 visibility::Visibility, 96 visibility::Visibility,
97 }, 97 },
98 hir_expand::{ 98 hir_expand::{
99 name::{known, AsName, Name}, 99 name::{known, Name},
100 ExpandResult, HirFileId, InFile, MacroCallId, MacroCallLoc, /* FIXME */ MacroDefId, 100 ExpandResult, HirFileId, InFile, MacroCallId, MacroCallLoc, /* FIXME */ MacroDefId,
101 MacroFile, Origin, 101 MacroFile, Origin,
102 }, 102 },
@@ -106,7 +106,10 @@ pub use {
106// These are negative re-exports: pub using these names is forbidden, they 106// These are negative re-exports: pub using these names is forbidden, they
107// should remain private to hir internals. 107// should remain private to hir internals.
108#[allow(unused)] 108#[allow(unused)]
109use {hir_def::path::Path, hir_expand::hygiene::Hygiene}; 109use {
110 hir_def::path::Path,
111 hir_expand::{hygiene::Hygiene, name::AsName},
112};
110 113
111/// hir::Crate describes a single crate. It's the main interface with which 114/// hir::Crate describes a single crate. It's the main interface with which
112/// a crate's dependencies interact. Mostly, it should be just a proxy for the 115/// a crate's dependencies interact. Mostly, it should be just a proxy for the