diff --git a/src/lib.rs b/src/lib.rs index e0645a30f1..26e0eaf382 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -215,7 +215,17 @@ tree. clippy::rest_pat_in_fully_bound_structs, clippy::match_wildcard_for_single_variants )] -#![cfg_attr(not(test), deny(clippy::panic))] +#![deny(clippy::exit)] +#![cfg_attr( + not(test), + warn( + clippy::dbg_macro, + clippy::panic, + clippy::print_stderr, + clippy::print_stdout, + clippy::todo + ) +)] mod arena; pub mod back;