1
Fork 0

Move FulfillmentErrorCode to rustc_trait_selection too

This commit is contained in:
Michael Goulet 2024-06-01 15:08:44 -04:00
parent 94a524ed11
commit 27f5eccd1f
8 changed files with 51 additions and 52 deletions

View file

@ -4,13 +4,13 @@
// general routines.
use rustc_infer::infer::TyCtxtInferExt;
use rustc_infer::traits::FulfillmentErrorCode;
use rustc_middle::bug;
use rustc_middle::traits::CodegenObligationError;
use rustc_middle::ty::{self, TyCtxt, TypeVisitableExt};
use rustc_trait_selection::traits::error_reporting::TypeErrCtxtExt;
use rustc_trait_selection::traits::{
ImplSource, Obligation, ObligationCause, ObligationCtxt, SelectionContext, Unimplemented,
FulfillmentErrorCode, ImplSource, Obligation, ObligationCause, ObligationCtxt,
SelectionContext, Unimplemented,
};
use tracing::debug;