]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_borrowck/src/type_check/canonical.rs
Auto merge of #105127 - Sp00ph:const_new, r=dtolnay
[rust.git] / compiler / rustc_borrowck / src / type_check / canonical.rs
index 1aad6738bba7a01b9081e14508b836bb324190d0..3617bf58be9dd48dd17c18c8738eb566024e18c9 100644 (file)
@@ -121,9 +121,7 @@ pub(super) fn normalize_and_prove_instantiated_predicates(
 
     pub(super) fn prove_predicates(
         &mut self,
-        predicates: impl IntoIterator<
-            Item = impl ToPredicate<'tcx, ty::Predicate<'tcx>> + std::fmt::Debug,
-        >,
+        predicates: impl IntoIterator<Item = impl ToPredicate<'tcx> + std::fmt::Debug>,
         locations: Locations,
         category: ConstraintCategory<'tcx>,
     ) {
@@ -135,7 +133,7 @@ pub(super) fn prove_predicates(
     #[instrument(skip(self), level = "debug")]
     pub(super) fn prove_predicate(
         &mut self,
-        predicate: impl ToPredicate<'tcx, ty::Predicate<'tcx>> + std::fmt::Debug,
+        predicate: impl ToPredicate<'tcx> + std::fmt::Debug,
         locations: Locations,
         category: ConstraintCategory<'tcx>,
     ) {