Make match_wild_err_arm pedantic, and update help messages

This commit is contained in:
Elichai Turkel
2020-05-20 13:23:51 +03:00
parent cafa94662c
commit ecd0a67b01
4 changed files with 9 additions and 10 deletions

View File

@@ -1195,7 +1195,7 @@ pub static ref ALL_LINTS: Vec<Lint> = vec![
},
Lint {
name: "match_wild_err_arm",
group: "style",
group: "pedantic",
desc: "a `match` with `Err(_)` arm and take drastic actions",
deprecation: None,
module: "matches",