Add polarity to TraitPredicate
This commit is contained in:
@@ -44,6 +44,7 @@ pub(crate) fn update<'tcx, T>(
|
||||
ty::PredicateKind::Trait(ty::TraitPredicate {
|
||||
trait_ref,
|
||||
constness: predicate.constness,
|
||||
polarity: predicate.polarity,
|
||||
})
|
||||
})
|
||||
.to_predicate(infcx.tcx),
|
||||
|
||||
Reference in New Issue
Block a user