Make queries more explicit
This commit is contained in:
parent
036b38ced3
commit
81c2c57519
22 changed files with 68 additions and 59 deletions
|
@ -574,7 +574,7 @@ impl<'cx, 'tcx> SelectionContext<'cx, 'tcx> {
|
|||
// Check supertraits hold. This is so that their associated type bounds
|
||||
// will be checked in the code below.
|
||||
for super_trait in tcx
|
||||
.super_predicates_of(trait_predicate.def_id())
|
||||
.explicit_super_predicates_of(trait_predicate.def_id())
|
||||
.instantiate(tcx, trait_predicate.trait_ref.args)
|
||||
.predicates
|
||||
.into_iter()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue