Add impl polarity to fields
This commit is contained in:
parent
b2005117bc
commit
4f29f3cef8
1 changed files with 27 additions and 26 deletions
|
@ -947,6 +947,7 @@ impl<'cx, 'tcx> SelectionContext<'cx, 'tcx> {
|
|||
substs: self.tcx().mk_substs_trait(ty, &[]),
|
||||
},
|
||||
constness: ty::BoundConstness::ConstIfConst,
|
||||
polarity: ty::ImplPolarity::Positive,
|
||||
}));
|
||||
|
||||
let const_drop_stack = self.push_stack(obligation_stack.list(), &const_drop_obligation);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue