diff options
Diffstat (limited to 'ffi')
-rw-r--r-- | ffi/src/error.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ffi/src/error.rs b/ffi/src/error.rs index 935d4515..7ca484d1 100644 --- a/ffi/src/error.rs +++ b/ffi/src/error.rs @@ -79,7 +79,7 @@ impl<'a> FromSequoiaError<'a> for Status { Status::InvalidKey, &openpgp::Error::PolicyViolation(_, _) => Status::PolicyViolation, - openpgp::Error::__Nonexhaustive => unreachable!(), + &_ => unreachable!(), // openpgp::Error is non-exhaustive. } } |