diff options
Diffstat (limited to 'src/error.rs')
| -rw-r--r-- | src/error.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/error.rs b/src/error.rs index b08d27dd..1eb48deb 100644 --- a/src/error.rs +++ b/src/error.rs @@ -21,7 +21,7 @@ pub struct Error { } /// How severe / important an error is. -#[derive(Debug, Copy, Clone, Eq, PartialEq, Ord, PartialOrd, Serialize)] +#[derive(Debug, Copy, Clone, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize)] pub enum Severity { /// Something in the code is not good. Warning, |
