about summary refs log tree commit diff
path: root/compiler/rustc_const_eval/src
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2024-05-10 14:59:56 -0400
committerMichael Goulet <michael@errs.io>2024-05-10 15:44:03 -0400
commit1e5ec0a12c73efdd9a492fdc7ab661d90dc5bcf5 (patch)
tree66e59847ede6d7076aeed46190bde0711807c7af /compiler/rustc_const_eval/src
parent5e606c0bde35564df43a82d7c6ae32ad700c009c (diff)
downloadrust-1e5ec0a12c73efdd9a492fdc7ab661d90dc5bcf5.tar.gz
rust-1e5ec0a12c73efdd9a492fdc7ab661d90dc5bcf5.zip
Lift `TraitRef` into `rustc_type_ir`
Diffstat (limited to 'compiler/rustc_const_eval/src')
-rw-r--r--compiler/rustc_const_eval/src/transform/check_consts/ops.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_const_eval/src/transform/check_consts/ops.rs b/compiler/rustc_const_eval/src/transform/check_consts/ops.rs
index dda8f3ed87d..247a2889dc5 100644
--- a/compiler/rustc_const_eval/src/transform/check_consts/ops.rs
+++ b/compiler/rustc_const_eval/src/transform/check_consts/ops.rs
@@ -8,7 +8,7 @@ use rustc_hir::def_id::DefId;
 use rustc_infer::infer::TyCtxtInferExt;
 use rustc_infer::traits::{ImplSource, Obligation, ObligationCause};
 use rustc_middle::mir::{self, CallSource};
-use rustc_middle::ty::print::with_no_trimmed_paths;
+use rustc_middle::ty::print::{with_no_trimmed_paths, PrintTraitRefExt as _};
 use rustc_middle::ty::{
     self, suggest_constraining_type_param, Closure, FnDef, FnPtr, GenericArgKind, GenericArgsRef,
     Param, TraitRef, Ty,