diff options
| author | Michael Goulet <michael@errs.io> | 2023-05-09 20:18:22 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2023-05-25 03:21:21 +0000 |
| commit | a2d7ffc6353b65ff730dd1e7d8027b3751bf82aa (patch) | |
| tree | 9c7ee3fae1a2fe2a9c687fbc3f199e4c0f1665ab /compiler/rustc_const_eval/src | |
| parent | 4d80b8090c30980c03ff4bb6f47a7560ffaa68a4 (diff) | |
| download | rust-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.rs | 4 |
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; |
