1
Fork 0

Impl HashStable/Encodable/Decodable for ObligationCause.

This commit is contained in:
Camille GILLOT 2022-09-11 14:42:43 +02:00
parent caefec955f
commit 2870ce01b8
5 changed files with 53 additions and 15 deletions

View file

@ -188,7 +188,7 @@ impl<'tcx> AdtDef<'tcx> {
}
}
#[derive(Copy, Clone, Debug, Eq, PartialEq, Hash, TyEncodable, TyDecodable)]
#[derive(Copy, Clone, Debug, Eq, PartialEq, Hash, HashStable, TyEncodable, TyDecodable)]
pub enum AdtKind {
Struct,
Union,