Remove extern crate rustc_middle from rustc_trait_selection.

This commit is contained in:
Nicholas Nethercote
2024-05-09 08:06:59 +10:00
parent 573aa9f677
commit 4bf20b2b55
30 changed files with 29 additions and 2 deletions

View File

@@ -6,6 +6,7 @@ use rustc_data_structures::fx::{FxHashSet, FxIndexMap};
use rustc_errors::Diag;
use rustc_hir::def_id::DefId;
use rustc_infer::infer::{InferCtxt, InferOk};
use rustc_middle::bug;
use rustc_middle::ty::GenericArgsRef;
use rustc_middle::ty::{self, ImplSubject, ToPredicate, Ty, TyCtxt, TypeVisitableExt};
use rustc_middle::ty::{TypeFoldable, TypeFolder, TypeSuperFoldable};