Adapt to latest master changes by using PredicateKind
This commit is contained in:
parent
7b69987985
commit
fd092557ce
3 changed files with 3 additions and 3 deletions
|
@ -2078,7 +2078,7 @@ impl<'tcx> TyCtxt<'tcx> {
|
|||
let generic_predicates = self.super_predicates_of(trait_did);
|
||||
|
||||
for (predicate, _) in generic_predicates.predicates {
|
||||
if let ty::PredicateAtom::Trait(data, _) = predicate.skip_binders() {
|
||||
if let ty::PredicateKind::Trait(data, _) = predicate.kind().skip_binder() {
|
||||
if set.insert(data.def_id()) {
|
||||
stack.push(data.def_id());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue