diff --git a/src/lib.rs b/src/lib.rs index 7891da193a..7135d6e60c 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,7 +1,7 @@ #![doc(html_root_url = "https://docs.rs/hyper/0.12.7")] #![deny(missing_docs)] -#![deny(warnings)] #![deny(missing_debug_implementations)] +#![cfg_attr(test, deny(warnings))] #![cfg_attr(all(test, feature = "nightly"), feature(test))] //! # hyper