Implement explicit_predicates_of for impl side RPITITs assoc type
This commit is contained in:
parent
e132d293b2
commit
31a0d6721b
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue