Skip to content

Commit ffddb66

Browse files
committed
clippy_lint: run after changing category to pendantic
1 parent db40a07 commit ffddb66

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

clippy_lints/src/lib.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1255,6 +1255,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
12551255
LintId::of(&pass_by_ref_or_value::TRIVIALLY_COPY_PASS_BY_REF),
12561256
LintId::of(&ranges::RANGE_MINUS_ONE),
12571257
LintId::of(&ranges::RANGE_PLUS_ONE),
1258+
LintId::of(&ref_option_ref::REF_OPTION_REF),
12581259
LintId::of(&shadow::SHADOW_UNRELATED),
12591260
LintId::of(&strings::STRING_ADD_ASSIGN),
12601261
LintId::of(&trait_bounds::TRAIT_DUPLICATION_IN_BOUNDS),
@@ -1496,7 +1497,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
14961497
LintId::of(&redundant_closure_call::REDUNDANT_CLOSURE_CALL),
14971498
LintId::of(&redundant_field_names::REDUNDANT_FIELD_NAMES),
14981499
LintId::of(&redundant_static_lifetimes::REDUNDANT_STATIC_LIFETIMES),
1499-
LintId::of(&ref_option_ref::REF_OPTION_REF),
15001500
LintId::of(&reference::DEREF_ADDROF),
15011501
LintId::of(&reference::REF_IN_DEREF),
15021502
LintId::of(&regex::INVALID_REGEX),
@@ -1652,7 +1652,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
16521652
LintId::of(&ranges::MANUAL_RANGE_CONTAINS),
16531653
LintId::of(&redundant_field_names::REDUNDANT_FIELD_NAMES),
16541654
LintId::of(&redundant_static_lifetimes::REDUNDANT_STATIC_LIFETIMES),
1655-
LintId::of(&ref_option_ref::REF_OPTION_REF),
16561655
LintId::of(&regex::TRIVIAL_REGEX),
16571656
LintId::of(&returns::LET_AND_RETURN),
16581657
LintId::of(&returns::NEEDLESS_RETURN),

src/lintlist/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2015,7 +2015,7 @@ vec![
20152015
},
20162016
Lint {
20172017
name: "ref_option_ref",
2018-
group: "style",
2018+
group: "pedantic",
20192019
desc: "use `Option<&T>` instead of `&Option<&T>`",
20202020
deprecation: None,
20212021
module: "ref_option_ref",

0 commit comments

Comments
 (0)