refactor: add several clippy lints (#2296)

This commit is contained in:
Erich Gubler authored and GitHub committed 2023-05-24 17:23:24 +02:00
1 parent ce48588d74
commit 4b41e07a99
1 file changed
+11 -1
+11 -1
View File
@@ -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;