diff --git a/src/lib.rs b/src/lib.rs index 3737d1a9..2eb1a010 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -388,6 +388,7 @@ #![deny(missing_debug_implementations)] #![warn(unreachable_pub)] #![deny(dead_code)] +#![deny(clippy::tests_outside_test_module)] #![cfg_attr(not(any(feature = "std", test)), no_std)] // can remove this if/when rustc-serialize support is removed // keeps clippy happy in the meantime