From 9faf8dd69a819e50b9c973857fe324d7605e2d24 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Mon, 8 Mar 2021 22:14:52 +0300 Subject: Hygiene is an internal implementation detail of the compiler --- crates/hir/src/lib.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'crates/hir/src') 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 { visibility::Visibility, }, hir_expand::{ - name::{known, AsName, Name}, + name::{known, Name}, ExpandResult, HirFileId, InFile, MacroCallId, MacroCallLoc, /* FIXME */ MacroDefId, MacroFile, Origin, }, @@ -106,7 +106,10 @@ pub use { // These are negative re-exports: pub using these names is forbidden, they // should remain private to hir internals. #[allow(unused)] -use {hir_def::path::Path, hir_expand::hygiene::Hygiene}; +use { + hir_def::path::Path, + hir_expand::{hygiene::Hygiene, name::AsName}, +}; /// hir::Crate describes a single crate. It's the main interface with which /// a crate's dependencies interact. Mostly, it should be just a proxy for the -- cgit v1.2.3