diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-08-13 23:16:31 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-08-13 23:16:31 +0100 |
commit | f1f73649a686dc6e6449afc35e0fa6fed00e225d (patch) | |
tree | a62d88ce37b64507b708f8cdc86c8ff3602a42bc /crates/hir/src/lib.rs | |
parent | 9930ef253634465e2fe25b47b469e4c3bbcf6df1 (diff) | |
parent | 9664c57e60ec5662b3e8b063324d9ab7879d5570 (diff) |
Merge #5755
5755: Make hygiene private to hir r=davidlattimore a=matklad
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/hir/src/lib.rs')
-rw-r--r-- | crates/hir/src/lib.rs | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/crates/hir/src/lib.rs b/crates/hir/src/lib.rs index 24a0f6b4b..4ae2bd085 100644 --- a/crates/hir/src/lib.rs +++ b/crates/hir/src/lib.rs | |||
@@ -52,8 +52,12 @@ pub use hir_def::{ | |||
52 | type_ref::{Mutability, TypeRef}, | 52 | type_ref::{Mutability, TypeRef}, |
53 | }; | 53 | }; |
54 | pub use hir_expand::{ | 54 | pub use hir_expand::{ |
55 | hygiene::Hygiene, name::Name, HirFileId, InFile, MacroCallId, MacroCallLoc, | 55 | name::Name, HirFileId, InFile, MacroCallId, MacroCallLoc, /* FIXME */ MacroDefId, |
56 | MacroDefId, /* FIXME */ | ||
57 | MacroFile, Origin, | 56 | MacroFile, Origin, |
58 | }; | 57 | }; |
59 | pub use hir_ty::display::HirDisplay; | 58 | pub use hir_ty::display::HirDisplay; |
59 | |||
60 | // These are negative re-exports: pub using these names is forbidden, they | ||
61 | // should remain private to hir internals. | ||
62 | #[allow(unused)] | ||
63 | use hir_expand::hygiene::Hygiene; | ||