mirror of
https://github.com/uutils/coreutils.git
synced 2025-07-07 13:35:00 +00:00
clippy: show a warning on "panic!()"
This commit is contained in:
parent
4190fe22ef
commit
3680bbed56
1 changed files with 1 additions and 0 deletions
|
@ -588,6 +588,7 @@ single_char_pattern = "warn"
|
||||||
explicit_iter_loop = "warn"
|
explicit_iter_loop = "warn"
|
||||||
if_not_else = "warn"
|
if_not_else = "warn"
|
||||||
manual_let_else = "warn"
|
manual_let_else = "warn"
|
||||||
|
panic = "warn"
|
||||||
|
|
||||||
all = { level = "deny", priority = -1 }
|
all = { level = "deny", priority = -1 }
|
||||||
cargo = { level = "warn", priority = -1 }
|
cargo = { level = "warn", priority = -1 }
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue