Stop using ty::GenericPredicates for non-predicates_of queries
This commit is contained in:
parent
ac77e88f7a
commit
92004523db
20 changed files with 101 additions and 98 deletions
|
@ -123,7 +123,7 @@ pub fn transitive_bounds_that_define_assoc_item<'tcx>(
|
|||
|
||||
stack.extend(
|
||||
tcx.explicit_supertraits_containing_assoc_item((trait_ref.def_id(), assoc_name))
|
||||
.instantiate_own_identity()
|
||||
.iter_identity_copied()
|
||||
.map(|(clause, _)| clause.instantiate_supertrait(tcx, trait_ref))
|
||||
.filter_map(|clause| clause.as_trait_clause())
|
||||
// FIXME: Negative supertraits are elaborated here lol
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue