Make higher-ranked projections in object types work in new solver
This commit is contained in:
parent
98525aeee7
commit
2540c2b761
4 changed files with 48 additions and 18 deletions
|
@ -110,7 +110,8 @@ impl<'tcx> assembly::GoalKind<'tcx> for TraitPredicate<'tcx> {
|
|||
};
|
||||
nested_goals.extend(
|
||||
structural_traits::predicates_for_object_candidate(
|
||||
tcx,
|
||||
ecx,
|
||||
goal.param_env,
|
||||
goal.predicate.trait_ref,
|
||||
bounds,
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue