diff options
author | Aleksey Kladov <[email protected]> | 2021-03-08 19:14:52 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2021-03-08 19:14:52 +0000 |
commit | 9faf8dd69a819e50b9c973857fe324d7605e2d24 (patch) | |
tree | a9eccedac7905ac3b6d6608b4607241ddefe6a63 /crates/hir | |
parent | e346a9c5e1f5fb536df19086a52411cf05255ac9 (diff) |
Hygiene is an internal implementation detail of the compiler
Diffstat (limited to 'crates/hir')
-rw-r--r-- | crates/hir/src/lib.rs | 7 |
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)] |
109 | use {hir_def::path::Path, hir_expand::hygiene::Hygiene}; | 109 | use { |
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 |