Impl EncodableWithShorthand for PredicateKind

This commit is contained in:
Jack Huey
2021-01-17 02:49:30 -05:00
parent f2ed9a3a8c
commit 674735b109
4 changed files with 43 additions and 1 deletions

View File

@@ -1081,7 +1081,7 @@ impl<'a, 'tcx> HashStable<StableHashingContext<'a>> for Predicate<'tcx> {
}
}
#[derive(Clone, Copy, PartialEq, Eq, Hash, TyEncodable, TyDecodable)]
#[derive(Clone, Copy, PartialEq, Eq, Hash)]
#[derive(HashStable, TypeFoldable)]
pub enum PredicateKind<'tcx> {
/// Corresponds to `where Foo: Bar<A, B, C>`. `Foo` here would be