Auto merge of #72743 - lcnr:predicate_f, r=nikomatsakis
fix EncodeWithShorthand for Predicate r? @nikomatsakis
This commit is contained in:
commit
b6fa392238
|
@ -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…
Reference in New Issue