Remove ClosureKind predicate kind
This commit is contained in:
parent
0ff8610964
commit
93298ee0dd
26 changed files with 73 additions and 188 deletions
|
@ -1699,13 +1699,6 @@ impl<'tcx> Stable<'tcx> for ty::PredicateKind<'tcx> {
|
|||
PredicateKind::ObjectSafe(did) => {
|
||||
stable_mir::ty::PredicateKind::ObjectSafe(tables.trait_def(*did))
|
||||
}
|
||||
PredicateKind::ClosureKind(did, generic_args, closure_kind) => {
|
||||
stable_mir::ty::PredicateKind::ClosureKind(
|
||||
tables.closure_def(*did),
|
||||
generic_args.stable(tables),
|
||||
closure_kind.stable(tables),
|
||||
)
|
||||
}
|
||||
PredicateKind::Subtype(subtype_predicate) => {
|
||||
stable_mir::ty::PredicateKind::SubType(subtype_predicate.stable(tables))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue