summary refs log tree commit diff
path: root/compiler/rustc_const_eval/src/util
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2022-11-19 03:28:56 +0000
committerMichael Goulet <michael@errs.io>2022-11-19 04:04:27 +0000
commitc36ff28d4214c65df55cb1d9d8085b34d33d37fb (patch)
tree1bf6f61de6ffa50f005ef494cb5ba9f9f18c61ee /compiler/rustc_const_eval/src/util
parentff0ffda6b3c3ea392c6cf88c676133666f491e5c (diff)
downloadrust-c36ff28d4214c65df55cb1d9d8085b34d33d37fb.tar.gz
rust-c36ff28d4214c65df55cb1d9d8085b34d33d37fb.zip
drive-by: PolyExistentialPredicate
Diffstat (limited to 'compiler/rustc_const_eval/src/util')
-rw-r--r--compiler/rustc_const_eval/src/util/type_name.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_const_eval/src/util/type_name.rs b/compiler/rustc_const_eval/src/util/type_name.rs
index 08a6d69b8e4..14c8c88028b 100644
--- a/compiler/rustc_const_eval/src/util/type_name.rs
+++ b/compiler/rustc_const_eval/src/util/type_name.rs
@@ -74,7 +74,7 @@ impl<'tcx> Printer<'tcx> for AbsolutePathPrinter<'tcx> {
 
     fn print_dyn_existential(
         self,
-        predicates: &'tcx ty::List<ty::Binder<'tcx, ty::ExistentialPredicate<'tcx>>>,
+        predicates: &'tcx ty::List<ty::PolyExistentialPredicate<'tcx>>,
     ) -> Result<Self::DynExistential, Self::Error> {
         self.pretty_print_dyn_existential(predicates)
     }