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