Remove extern crate rustc_macros
from numerous crates.
This commit is contained in:
parent
10505a1cc9
commit
4814fd0a4b
110 changed files with 99 additions and 94 deletions
|
@ -5,6 +5,7 @@ use rustc_data_structures::{
|
|||
fx::FxHashMap,
|
||||
stable_hasher::{HashStable, StableHasher},
|
||||
};
|
||||
use rustc_macros::HashStable;
|
||||
use rustc_middle::{
|
||||
bug,
|
||||
ty::{ParamEnv, PolyExistentialTraitRef, Ty, TyCtxt},
|
||||
|
@ -23,6 +24,8 @@ use crate::{
|
|||
use super::{unknown_file_metadata, SmallVec, UNKNOWN_LINE_NUMBER};
|
||||
|
||||
mod private {
|
||||
use rustc_macros::HashStable;
|
||||
|
||||
// This type cannot be constructed outside of this module because
|
||||
// it has a private field. We make use of this in order to prevent
|
||||
// `UniqueTypeId` from being constructed directly, without asserting
|
||||
|
|
|
@ -15,8 +15,6 @@
|
|||
#![feature(let_chains)]
|
||||
#![feature(impl_trait_in_assoc_type)]
|
||||
|
||||
#[macro_use]
|
||||
extern crate rustc_macros;
|
||||
#[macro_use]
|
||||
extern crate tracing;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue