Added lint match_vec_item
This commit is contained in:
@@ -1172,6 +1172,13 @@ pub static ref ALL_LINTS: Vec<Lint> = vec![
|
||||
deprecation: None,
|
||||
module: "matches",
|
||||
},
|
||||
Lint {
|
||||
name: "match_vec_item",
|
||||
group: "style",
|
||||
desc: "match vector by indexing can panic",
|
||||
deprecation: None,
|
||||
module: "match_vec_item",
|
||||
},
|
||||
Lint {
|
||||
name: "match_wild_err_arm",
|
||||
group: "style",
|
||||
|
||||
Reference in New Issue
Block a user