gate test for transposed option which uses try_blocks

This commit is contained in:
janis 2025-09-16 18:55:36 +02:00
parent a8cebcc805
commit cf94f58583
Signed by: janis
SSH key fingerprint: SHA256:bB1qbbqmDXZNT0KKD5c2Dfjg53JGhj7B3CFcLIzSqq8

View file

@ -79,7 +79,7 @@ impl<T: From<U>, U> core::ops::FromResidual<U> for TransposedOption<T> {
}
}
#[cfg(test)]
#[cfg(all(test, feature = "transposed-option"))]
mod tests {
use super::*;
use TransposedOption::*;