mirror of
https://github.com/veeso/termscp.git
synced 2025-12-07 09:36:00 -08:00
Unused variant if keyring is not enabled
This commit is contained in:
@@ -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")]
|
||||
|
||||
Reference in New Issue
Block a user