mirror of
https://github.com/chronotope/chrono.git
synced 2025-10-01 06:52:15 +00:00
Deny tests outside test
module
This commit is contained in:
parent
4b4e694f24
commit
03dd894a7f
@ -388,6 +388,7 @@
|
|||||||
#![deny(missing_debug_implementations)]
|
#![deny(missing_debug_implementations)]
|
||||||
#![warn(unreachable_pub)]
|
#![warn(unreachable_pub)]
|
||||||
#![deny(dead_code)]
|
#![deny(dead_code)]
|
||||||
|
#![deny(clippy::tests_outside_test_module)]
|
||||||
#![cfg_attr(not(any(feature = "std", test)), no_std)]
|
#![cfg_attr(not(any(feature = "std", test)), no_std)]
|
||||||
// can remove this if/when rustc-serialize support is removed
|
// can remove this if/when rustc-serialize support is removed
|
||||||
// keeps clippy happy in the meantime
|
// keeps clippy happy in the meantime
|
||||||
|
Loading…
x
Reference in New Issue
Block a user