mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-27 07:00:55 +00:00
Updated lint info in lib.rs
This commit is contained in:
parent
940c662654
commit
b574941dcb
2 changed files with 2 additions and 2 deletions
|
@ -1473,7 +1473,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
|
||||||
LintId::of(&loops::WHILE_LET_ON_ITERATOR),
|
LintId::of(&loops::WHILE_LET_ON_ITERATOR),
|
||||||
LintId::of(&main_recursion::MAIN_RECURSION),
|
LintId::of(&main_recursion::MAIN_RECURSION),
|
||||||
LintId::of(&map_clone::MAP_CLONE),
|
LintId::of(&map_clone::MAP_CLONE),
|
||||||
LintId::of(&match_on_vec_items::MATCH_ON_VEC_ITEMS),
|
|
||||||
LintId::of(&matches::INFALLIBLE_DESTRUCTURING_MATCH),
|
LintId::of(&matches::INFALLIBLE_DESTRUCTURING_MATCH),
|
||||||
LintId::of(&matches::MATCH_BOOL),
|
LintId::of(&matches::MATCH_BOOL),
|
||||||
LintId::of(&matches::MATCH_OVERLAPPING_ARM),
|
LintId::of(&matches::MATCH_OVERLAPPING_ARM),
|
||||||
|
@ -1646,6 +1645,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
|
||||||
LintId::of(&loops::NEVER_LOOP),
|
LintId::of(&loops::NEVER_LOOP),
|
||||||
LintId::of(&loops::REVERSE_RANGE_LOOP),
|
LintId::of(&loops::REVERSE_RANGE_LOOP),
|
||||||
LintId::of(&loops::WHILE_IMMUTABLE_CONDITION),
|
LintId::of(&loops::WHILE_IMMUTABLE_CONDITION),
|
||||||
|
LintId::of(&match_on_vec_items::MATCH_ON_VEC_ITEMS),
|
||||||
LintId::of(&mem_discriminant::MEM_DISCRIMINANT_NON_ENUM),
|
LintId::of(&mem_discriminant::MEM_DISCRIMINANT_NON_ENUM),
|
||||||
LintId::of(&mem_replace::MEM_REPLACE_WITH_UNINIT),
|
LintId::of(&mem_replace::MEM_REPLACE_WITH_UNINIT),
|
||||||
LintId::of(&methods::CLONE_DOUBLE_REF),
|
LintId::of(&methods::CLONE_DOUBLE_REF),
|
||||||
|
|
|
@ -1146,7 +1146,7 @@ pub static ref ALL_LINTS: Vec<Lint> = vec![
|
||||||
},
|
},
|
||||||
Lint {
|
Lint {
|
||||||
name: "match_on_vec_items",
|
name: "match_on_vec_items",
|
||||||
group: "style",
|
group: "correctness",
|
||||||
desc: "matching on vector elements can panic",
|
desc: "matching on vector elements can panic",
|
||||||
deprecation: None,
|
deprecation: None,
|
||||||
module: "match_on_vec_items",
|
module: "match_on_vec_items",
|
||||||
|
|
Loading…
Reference in a new issue