diff --git a/core/embed/rust/src/io.rs b/core/embed/rust/src/io.rs index f3027d83ff..d8c02d8033 100644 --- a/core/embed/rust/src/io.rs +++ b/core/embed/rust/src/io.rs @@ -160,6 +160,7 @@ impl<'a> PartialEq for BinaryData<'a> { (Self::Slice(a), Self::Slice(b)) => a.as_ptr() == b.as_ptr() && a.len() == b.len(), #[cfg(feature = "micropython")] (Self::Object(a), Self::Object(b)) => a == b, + #[cfg(feature = "micropython")] _ => false, } }