summaryrefslogtreecommitdiffstats
path: root/openpgp/src/packet/marker.rs
diff options
context:
space:
mode:
Diffstat (limited to 'openpgp/src/packet/marker.rs')
-rw-r--r--openpgp/src/packet/marker.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/openpgp/src/packet/marker.rs b/openpgp/src/packet/marker.rs
index 8217901c..728f115b 100644
--- a/openpgp/src/packet/marker.rs
+++ b/openpgp/src/packet/marker.rs
@@ -1,3 +1,4 @@
+#[cfg(any(test, feature = "quickcheck"))]
use quickcheck::{Arbitrary, Gen};
use crate::packet;
@@ -34,6 +35,7 @@ impl From<Marker> for Packet {
}
}
+#[cfg(any(test, feature = "quickcheck"))]
impl Arbitrary for Marker {
fn arbitrary<G: Gen>(_: &mut G) -> Self {
Self::default()