diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2020-01-02 11:59:14 +0100 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2020-01-02 13:32:02 +0100 |
commit | 984d3645cbb68437475316fda35a2726f5cc21c1 (patch) | |
tree | 1708bae47a103e08e50251eaaef7b57ca61b9062 /ffi/src/error.rs | |
parent | 75c1d18d7a7eb3e6889c651cfaf8e6c4da00b647 (diff) |
openpgp: Mark enum Error non-exhaustive.
- See #405.
Diffstat (limited to 'ffi/src/error.rs')
-rw-r--r-- | ffi/src/error.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ffi/src/error.rs b/ffi/src/error.rs index 0e867cb3..1bcf051c 100644 --- a/ffi/src/error.rs +++ b/ffi/src/error.rs @@ -74,6 +74,7 @@ impl<'a> FromSequoiaError<'a> for Status { Status::Expired, &openpgp::Error::NotYetLive(_) => Status::NotYetLive, + openpgp::Error::__Nonexhaustive => unreachable!(), } } |