Implement explicit_predicates_of for impl side RPITITs assoc type
This commit is contained in:
@@ -382,5 +382,11 @@ fn impl_associated_item_for_impl_trait_in_trait(
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// There are no predicates for the synthesized associated type.
|
||||||
|
impl_assoc_ty.explicit_predicates_of(ty::GenericPredicates {
|
||||||
|
parent: Some(impl_def_id),
|
||||||
|
predicates: &[],
|
||||||
|
});
|
||||||
|
|
||||||
local_def_id
|
local_def_id
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user