fix encode with shorthand for Predicate
This commit is contained in:
parent
96dd4690c3
commit
222fbd20f2
1 changed files with 2 additions and 2 deletions
|
|
@ -39,9 +39,9 @@ impl<'tcx> EncodableWithShorthand for Ty<'tcx> {
|
|||
}
|
||||
|
||||
impl<'tcx> EncodableWithShorthand for ty::Predicate<'tcx> {
|
||||
type Variant = ty::Predicate<'tcx>;
|
||||
type Variant = ty::PredicateKind<'tcx>;
|
||||
fn variant(&self) -> &Self::Variant {
|
||||
self
|
||||
self.kind()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue