diff options
Diffstat (limited to 'crates/hir/src/lib.rs')
-rw-r--r-- | crates/hir/src/lib.rs | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/crates/hir/src/lib.rs b/crates/hir/src/lib.rs index b9d9c7e25..4094a76cb 100644 --- a/crates/hir/src/lib.rs +++ b/crates/hir/src/lib.rs | |||
@@ -48,13 +48,14 @@ pub use hir_def::{ | |||
48 | body::scope::ExprScopes, | 48 | body::scope::ExprScopes, |
49 | builtin_type::BuiltinType, | 49 | builtin_type::BuiltinType, |
50 | docs::Documentation, | 50 | docs::Documentation, |
51 | find_path::PrefixKind, | ||
51 | item_scope::ItemInNs, | 52 | item_scope::ItemInNs, |
52 | nameres::ModuleSource, | 53 | nameres::ModuleSource, |
53 | path::ModPath, | 54 | path::{ModPath, PathKind}, |
54 | type_ref::{Mutability, TypeRef}, | 55 | type_ref::{Mutability, TypeRef}, |
55 | }; | 56 | }; |
56 | pub use hir_expand::{ | 57 | pub use hir_expand::{ |
57 | name::AsName, name::Name, HirFileId, InFile, MacroCallId, MacroCallLoc, | 58 | name::known, name::AsName, name::Name, HirFileId, InFile, MacroCallId, MacroCallLoc, |
58 | /* FIXME */ MacroDefId, MacroFile, Origin, | 59 | /* FIXME */ MacroDefId, MacroFile, Origin, |
59 | }; | 60 | }; |
60 | pub use hir_ty::display::HirDisplay; | 61 | pub use hir_ty::display::HirDisplay; |
@@ -62,7 +63,4 @@ pub use hir_ty::display::HirDisplay; | |||
62 | // 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 |
63 | // should remain private to hir internals. | 64 | // should remain private to hir internals. |
64 | #[allow(unused)] | 65 | #[allow(unused)] |
65 | use { | 66 | use {hir_def::path::Path, hir_expand::hygiene::Hygiene}; |
66 | hir_def::path::{Path, PathKind}, | ||
67 | hir_expand::hygiene::Hygiene, | ||
68 | }; | ||