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

@@ -9,6 +9,7 @@ use rustc_infer::traits::{
self, FulfillmentError, FulfillmentErrorCode, MismatchedProjectionTypes, Obligation,
ObligationCause, ObligationCauseCode, PredicateObligation, SelectionError, TraitEngine,
};
use rustc_middle::bug;
use rustc_middle::ty::error::{ExpectedFound, TypeError};
use rustc_middle::ty::{self, TyCtxt};
use rustc_span::symbol::sym;