Add impl polarity to fields
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user