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
No known key found for this signature in database
GPG key ID: 9383CDE9E8E66A7F
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",