summary refs log tree commit diff
path: root/compiler/rustc_const_eval/src
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2023-05-09 20:18:22 +0000
committerMichael Goulet <michael@errs.io>2023-05-25 03:21:21 +0000
commita2d7ffc6353b65ff730dd1e7d8027b3751bf82aa (patch)
tree9c7ee3fae1a2fe2a9c687fbc3f199e4c0f1665ab /compiler/rustc_const_eval/src
parent4d80b8090c30980c03ff4bb6f47a7560ffaa68a4 (diff)
downloadrust-a2d7ffc6353b65ff730dd1e7d8027b3751bf82aa.tar.gz
rust-a2d7ffc6353b65ff730dd1e7d8027b3751bf82aa.zip
Move DefiningAnchor
Diffstat (limited to 'compiler/rustc_const_eval/src')
-rw-r--r--compiler/rustc_const_eval/src/util/compare_types.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_const_eval/src/util/compare_types.rs b/compiler/rustc_const_eval/src/util/compare_types.rs
index f5f3d5de6b5..d6a2ffb7511 100644
--- a/compiler/rustc_const_eval/src/util/compare_types.rs
+++ b/compiler/rustc_const_eval/src/util/compare_types.rs
@@ -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;