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

@@ -1,6 +1,7 @@
use std::fmt::{self, Debug, Display, Formatter};
use rustc_hir::def_id::DefId;
use rustc_macros::{HashStable, Lift, TyDecodable, TyEncodable, TypeFoldable, TypeVisitable};
use rustc_session::{config::RemapPathScopeComponents, RemapFileNameExt};
use rustc_span::{Span, DUMMY_SP};
use rustc_target::abi::{HasDataLayout, Size};