Split implied and super predicate queries
This commit is contained in:
parent
3dab259cb9
commit
25c342f30a
16 changed files with 125 additions and 96 deletions
|
@ -115,7 +115,7 @@ impl<'tcx> TraitAliasExpander<'tcx> {
|
|||
}
|
||||
|
||||
// Get components of trait alias.
|
||||
let predicates = tcx.super_predicates_of(trait_ref.def_id());
|
||||
let predicates = tcx.implied_predicates_of(trait_ref.def_id());
|
||||
debug!(?predicates);
|
||||
|
||||
let items = predicates.predicates.iter().rev().filter_map(|(pred, span)| {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue