Split out ImplPolarity and PredicatePolarity
This commit is contained in:
parent
1447f9d38c
commit
4b87c0b9c9
30 changed files with 169 additions and 95 deletions
|
@ -1322,7 +1322,7 @@ fn check_impl<'tcx>(
|
|||
trait_ref,
|
||||
);
|
||||
let trait_pred =
|
||||
ty::TraitPredicate { trait_ref, polarity: ty::ImplPolarity::Positive };
|
||||
ty::TraitPredicate { trait_ref, polarity: ty::PredicatePolarity::Positive };
|
||||
let mut obligations = traits::wf::trait_obligations(
|
||||
wfcx.infcx,
|
||||
wfcx.param_env,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue