Remove extern crate rustc_middle
from numerous crates.
This commit is contained in:
parent
e6b3e20243
commit
99e036bd21
80 changed files with 74 additions and 26 deletions
|
@ -16,9 +16,6 @@ pub mod usefulness;
|
|||
|
||||
#[macro_use]
|
||||
extern crate tracing;
|
||||
#[cfg(feature = "rustc")]
|
||||
#[macro_use]
|
||||
extern crate rustc_middle;
|
||||
|
||||
#[cfg(feature = "rustc")]
|
||||
rustc_fluent_macro::fluent_messages! { "../messages.ftl" }
|
||||
|
|
|
@ -11,6 +11,7 @@ use rustc_middle::mir::{self, Const};
|
|||
use rustc_middle::thir::{self, FieldPat, Pat, PatKind, PatRange, PatRangeBoundary};
|
||||
use rustc_middle::ty::layout::IntegerExt;
|
||||
use rustc_middle::ty::{self, FieldDef, OpaqueTypeKey, Ty, TyCtxt, TypeVisitableExt, VariantDef};
|
||||
use rustc_middle::{bug, span_bug};
|
||||
use rustc_session::lint;
|
||||
use rustc_span::{ErrorGuaranteed, Span, DUMMY_SP};
|
||||
use rustc_target::abi::{FieldIdx, Integer, VariantIdx, FIRST_VARIANT};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue