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_trait_selection/src/traits/coherence.rs | |
| parent | 4d80b8090c30980c03ff4bb6f47a7560ffaa68a4 (diff) | |
| download | rust-a2d7ffc6353b65ff730dd1e7d8027b3751bf82aa.tar.gz rust-a2d7ffc6353b65ff730dd1e7d8027b3751bf82aa.zip | |
Move DefiningAnchor
Diffstat (limited to 'compiler/rustc_trait_selection/src/traits/coherence.rs')
| -rw-r--r-- | compiler/rustc_trait_selection/src/traits/coherence.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/rustc_trait_selection/src/traits/coherence.rs b/compiler/rustc_trait_selection/src/traits/coherence.rs index aacbfbd3c87..e8c5a8fab2a 100644 --- a/compiler/rustc_trait_selection/src/traits/coherence.rs +++ b/compiler/rustc_trait_selection/src/traits/coherence.rs @@ -17,9 +17,10 @@ use crate::traits::{ use rustc_data_structures::fx::FxIndexSet; use rustc_errors::Diagnostic; use rustc_hir::def_id::{DefId, CRATE_DEF_ID, LOCAL_CRATE}; -use rustc_infer::infer::{DefineOpaqueTypes, DefiningAnchor, InferCtxt, TyCtxtInferExt}; +use rustc_infer::infer::{DefineOpaqueTypes, InferCtxt, TyCtxtInferExt}; use rustc_infer::traits::util; use rustc_middle::traits::specialization_graph::OverlapMode; +use rustc_middle::traits::DefiningAnchor; use rustc_middle::ty::fast_reject::{DeepRejectCtxt, TreatParams}; use rustc_middle::ty::visit::{TypeVisitable, TypeVisitableExt}; use rustc_middle::ty::{self, ImplSubject, Ty, TyCtxt, TypeVisitor}; |
