Add polarity to TraitPredicate
This commit is contained in:
parent
72d66064e7
commit
6975afd141
15 changed files with 105 additions and 12 deletions
|
@ -94,6 +94,7 @@ impl<'a, 'tcx> TypeChecker<'a, 'tcx> {
|
|||
Some(ty::Binder::dummy(ty::PredicateKind::Trait(ty::TraitPredicate {
|
||||
trait_ref,
|
||||
constness: ty::BoundConstness::NotConst,
|
||||
polarity: ty::ImplPolarity::Positive,
|
||||
}))),
|
||||
locations,
|
||||
category,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue