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

@ -2106,8 +2106,8 @@ pub enum LocalSource {
}
/// Hints at the original code for a `match _ { .. }`.
#[derive(Copy, Clone, PartialEq, Eq, Encodable, Hash, Debug)]
#[derive(HashStable_Generic)]
#[derive(Copy, Clone, PartialEq, Eq, Hash, Debug)]
#[derive(HashStable_Generic, Encodable, Decodable)]
pub enum MatchSource {
/// A `match _ { .. }`.
Normal,