Skip to content

Commit 3680bbe

Browse files
committed
clippy: show a warning on "panic!()"
1 parent 4190fe2 commit 3680bbe

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -588,6 +588,7 @@ single_char_pattern = "warn"
588588
explicit_iter_loop = "warn"
589589
if_not_else = "warn"
590590
manual_let_else = "warn"
591+
panic = "warn"
591592

592593
all = { level = "deny", priority = -1 }
593594
cargo = { level = "warn", priority = -1 }

0 commit comments

Comments
 (0)