Add impl polarity to fields
This commit is contained in:
parent
b2005117bc
commit
4f29f3cef8
@ -947,6 +947,7 @@ impl<'cx, 'tcx> SelectionContext<'cx, 'tcx> {
|
|||||||
substs: self.tcx().mk_substs_trait(ty, &[]),
|
substs: self.tcx().mk_substs_trait(ty, &[]),
|
||||||
},
|
},
|
||||||
constness: ty::BoundConstness::ConstIfConst,
|
constness: ty::BoundConstness::ConstIfConst,
|
||||||
|
polarity: ty::ImplPolarity::Positive,
|
||||||
}));
|
}));
|
||||||
|
|
||||||
let const_drop_stack = self.push_stack(obligation_stack.list(), &const_drop_obligation);
|
let const_drop_stack = self.push_stack(obligation_stack.list(), &const_drop_obligation);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user