matrix-sdk: Allow the key import error to be dead under WASM

This commit is contained in:
Damir Jelić 2021-07-19 11:19:14 +02:00
parent 26310def0a
commit 3a8ff2f6b4

View file

@ -157,6 +157,8 @@ pub enum Error {
#[cfg(feature = "encryption")]
#[cfg_attr(feature = "docs", doc(cfg(encryption)))]
#[derive(Error, Debug)]
// This is allowed because key importing isn't enabled under wasm.
#[allow(dead_code)]
pub enum RoomKeyImportError {
/// An error de/serializing type for the `StateStore`
#[error(transparent)]