diff --git a/ablescript/src/lib.rs b/ablescript/src/lib.rs index 5b3fab1..d228211 100644 --- a/ablescript/src/lib.rs +++ b/ablescript/src/lib.rs @@ -2,7 +2,8 @@ //! for more //! information. -#![forbid(unsafe_code, clippy::unwrap_used)] +#![forbid(unsafe_code)] +#![cfg_attr(not(test), forbid(clippy::unwrap_used))] pub mod ast; pub mod error;