Don't derive TyEncodable/TyDecodable for Binder

This commit is contained in:
Jack Huey
2021-01-17 04:13:51 -05:00
parent 674735b109
commit c76f47832a
3 changed files with 35 additions and 10 deletions

View File

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