refactor: add several clippy lints (#2296)

This commit is contained in:
Erich Gubler
2023-05-24 11:23:24 -04:00
committed by GitHub
parent ce48588d74
commit 4b41e07a99

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;