Move DefiningAnchor

This commit is contained in:
Michael Goulet 2023-05-09 20:18:22 +00:00
parent 4d80b8090c
commit a2d7ffc635
13 changed files with 34 additions and 27 deletions

View file

@ -3,8 +3,8 @@
//! FIXME: Move this to a more general place. The utility of this extends to
//! other areas of the compiler as well.
use rustc_infer::infer::{DefiningAnchor, TyCtxtInferExt};
use rustc_infer::traits::ObligationCause;
use rustc_infer::infer::TyCtxtInferExt;
use rustc_middle::traits::{DefiningAnchor, ObligationCause};
use rustc_middle::ty::{ParamEnv, Ty, TyCtxt};
use rustc_trait_selection::traits::ObligationCtxt;