about summary refs log tree commit diff
path: root/compiler/rustc_borrowck/src/constraints
diff options
context:
space:
mode:
authorJack Huey <31162821+jackh726@users.noreply.github.com>2022-09-16 09:01:28 -0400
committerJack Huey <31162821+jackh726@users.noreply.github.com>2022-09-16 09:01:28 -0400
commitbba514b7b4f3062139d17ce1e4ab26b396c8ad49 (patch)
tree9ef5520b53828c4e6e63383023642ffc75ebaeaf /compiler/rustc_borrowck/src/constraints
parentdf34db9b032b15efd86df3544cc75e6d55dc492e (diff)
Revert "Use Predicate ConstraintCategory when normalizing"
This reverts commit aae37f87632dd74856d55c0cd45d2c192379c990.
Diffstat (limited to 'compiler/rustc_borrowck/src/constraints')
-rw-r--r--compiler/rustc_borrowck/src/constraints/mod.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/compiler/rustc_borrowck/src/constraints/mod.rs b/compiler/rustc_borrowck/src/constraints/mod.rs
index df04128135b..6d323b03cda 100644
--- a/compiler/rustc_borrowck/src/constraints/mod.rs
+++ b/compiler/rustc_borrowck/src/constraints/mod.rs
@@ -21,7 +21,10 @@ pub(crate) struct OutlivesConstraintSet<'tcx> {
 
 impl<'tcx> OutlivesConstraintSet<'tcx> {
     pub(crate) fn push(&mut self, constraint: OutlivesConstraint<'tcx>) {
-        debug!("OutlivesConstraintSet::push({:?})", constraint);
+        debug!(
+            "OutlivesConstraintSet::push({:?}: {:?} @ {:?}",
+            constraint.sup, constraint.sub, constraint.locations
+        );
         if constraint.sup == constraint.sub {
             // 'a: 'a is pretty uninteresting
             return;