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
|
@ -578,7 +578,7 @@ fn type_param_predicates(
|
|||
)
|
||||
.into_iter()
|
||||
.filter(|(predicate, _)| match predicate.kind().skip_binder() {
|
||||
ty::PredicateAtom::Trait(data, _) => data.self_ty().is_param(index),
|
||||
ty::PredicateKind::Trait(data, _) => data.self_ty().is_param(index),
|
||||
_ => false,
|
||||
}),
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue