diff --git a/src/exception.rs b/src/exception.rs index 23b2a0786..482c80825 100644 --- a/src/exception.rs +++ b/src/exception.rs @@ -342,6 +342,7 @@ mod tests { }); } + #[cfg(feature = "anyhow")] #[test] fn test_from_anyhow() { Embed::run(|| {