Unused variant if keyring is not enabled

This commit is contained in:
veeso
2021-06-20 15:08:35 +02:00
parent 19610479bd
commit 5986130dfa

View File

@@ -37,6 +37,7 @@ use thiserror::Error;
/// defines the error type for the `KeyStorage`
#[derive(Debug, Error, PartialEq)]
pub enum KeyStorageError {
#[cfg(feature = "with-keyring")]
#[error("Key has a bad syntax")]
BadSytax,
#[error("Provider service error")]