mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 04:44:57 +00:00
Hygiene is an internal implementation detail of the compiler
This commit is contained in:
parent
e346a9c5e1
commit
9faf8dd69a
4 changed files with 12 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue