diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2020-01-02 11:48:16 +0100 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2020-01-02 13:32:02 +0100 |
commit | 75c1d18d7a7eb3e6889c651cfaf8e6c4da00b647 (patch) | |
tree | 8b713ea22c4e439d7ed462617392e63fc008cdb7 /openpgp/src/parse | |
parent | 7a42b2e19ee506e688bece42c108eee4b4e06a54 (diff) |
openpgp: Mark enum Packet non-exhaustive.
- See #405.
Diffstat (limited to 'openpgp/src/parse')
-rw-r--r-- | openpgp/src/parse/parse.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/openpgp/src/parse/parse.rs b/openpgp/src/parse/parse.rs index 25ca01f8..d0123803 100644 --- a/openpgp/src/parse/parse.rs +++ b/openpgp/src/parse/parse.rs @@ -3566,6 +3566,7 @@ impl <'a> PacketParser<'a> { t!("A {:?} packet is not a container, not recursing.", self.packet.tag()); }, + Packet::__Nonexhaustive => unreachable!(), } // No recursion. |