Use Predicate ConstraintCategory when normalizing
This commit is contained in:
parent
1eb71f0893
commit
e7ca6e1b47
14 changed files with 172 additions and 15 deletions
|
@ -21,10 +21,7 @@ pub(crate) struct OutlivesConstraintSet<'tcx> {
|
|||
|
||||
impl<'tcx> OutlivesConstraintSet<'tcx> {
|
||||
pub(crate) fn push(&mut self, constraint: OutlivesConstraint<'tcx>) {
|
||||
debug!(
|
||||
"OutlivesConstraintSet::push({:?}: {:?} @ {:?}",
|
||||
constraint.sup, constraint.sub, constraint.locations
|
||||
);
|
||||
debug!("OutlivesConstraintSet::push({:?})", constraint);
|
||||
if constraint.sup == constraint.sub {
|
||||
// 'a: 'a is pretty uninteresting
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue