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_traits/src/codegen.rs | |
| parent | 4d80b8090c30980c03ff4bb6f47a7560ffaa68a4 (diff) | |
| download | rust-a2d7ffc6353b65ff730dd1e7d8027b3751bf82aa.tar.gz rust-a2d7ffc6353b65ff730dd1e7d8027b3751bf82aa.zip | |
Move DefiningAnchor
Diffstat (limited to 'compiler/rustc_traits/src/codegen.rs')
| -rw-r--r-- | compiler/rustc_traits/src/codegen.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_traits/src/codegen.rs b/compiler/rustc_traits/src/codegen.rs index 6f81d343e0f..ddba03b0b12 100644 --- a/compiler/rustc_traits/src/codegen.rs +++ b/compiler/rustc_traits/src/codegen.rs @@ -3,9 +3,9 @@ // seems likely that they should eventually be merged into more // general routines. -use rustc_infer::infer::{DefiningAnchor, TyCtxtInferExt}; +use rustc_infer::infer::TyCtxtInferExt; use rustc_infer::traits::{FulfillmentErrorCode, TraitEngineExt as _}; -use rustc_middle::traits::CodegenObligationError; +use rustc_middle::traits::{CodegenObligationError, DefiningAnchor}; use rustc_middle::ty::{self, TyCtxt}; use rustc_trait_selection::traits::error_reporting::TypeErrCtxtExt; use rustc_trait_selection::traits::{ |
