Skip to content

Commit 2df5e93

Browse files
authored
clippy: show a warning on "panic!()"
1 parent 8931d2c commit 2df5e93

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
@@ -578,6 +578,7 @@ single_char_pattern = "warn"
578578
explicit_iter_loop = "warn"
579579
if_not_else = "warn"
580580
manual_let_else = "warn"
581+
panic = "warn"
581582

582583
all = { level = "deny", priority = -1 }
583584
cargo = { level = "warn", priority = -1 }

0 commit comments

Comments
 (0)