new trait solver: rebase impl substs for gats correctly
This commit is contained in:
parent
0b90256ada
commit
05f664a441
@ -171,7 +171,7 @@ impl<'tcx> assembly::GoalKind<'tcx> for ProjectionPredicate<'tcx> {
|
||||
let impl_substs_with_gat = goal.predicate.projection_ty.substs.rebase_onto(
|
||||
tcx,
|
||||
goal_trait_ref.def_id,
|
||||
impl_trait_ref.substs,
|
||||
impl_substs,
|
||||
);
|
||||
let substs = translate_substs(
|
||||
acx.infcx,
|
||||
|
Loading…
x
Reference in New Issue
Block a user