Remove extern crate rustc_macros from rustc_middle.

This commit is contained in:
Nicholas Nethercote
2024-04-29 11:14:55 +10:00
parent 4814fd0a4b
commit 6ce258f657
71 changed files with 80 additions and 28 deletions

View File

@@ -6,6 +6,7 @@ use rustc_data_structures::unord::{UnordMap, UnordSet};
use rustc_hir::def_id::{CrateNum, DefId, DefIndex, LocalDefId, StableCrateId, LOCAL_CRATE};
use rustc_hir::definitions::DefPathHash;
use rustc_index::{Idx, IndexVec};
use rustc_macros::{Decodable, Encodable};
use rustc_middle::dep_graph::{DepNodeIndex, SerializedDepNodeIndex};
use rustc_middle::mir::interpret::{AllocDecodingSession, AllocDecodingState};
use rustc_middle::mir::{self, interpret};