Impl HashStable/Encodable/Decodable for ObligationCause.
This commit is contained in:
parent
caefec955f
commit
2870ce01b8
5 changed files with 53 additions and 15 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue