Deny tests outside test module

This commit is contained in:
Paul Dicker 2023-06-08 11:51:28 +02:00 committed by Dirkjan Ochtman
parent 4b4e694f24
commit 03dd894a7f

View File

@ -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