Skip to content

Commit 18b5cee

Browse files
committed
ran update_lints
1 parent 0bcfae9 commit 18b5cee

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
@@ -1164,6 +1164,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
11641164
LintId::of(&types::CAST_POSSIBLE_TRUNCATION),
11651165
LintId::of(&types::CAST_POSSIBLE_WRAP),
11661166
LintId::of(&types::CAST_PRECISION_LOSS),
1167+
LintId::of(&types::CAST_PTR_ALIGNMENT),
11671168
LintId::of(&types::CAST_SIGN_LOSS),
11681169
LintId::of(&types::IMPLICIT_HASHER),
11691170
LintId::of(&types::INVALID_UPCAST_COMPARISONS),
@@ -1410,7 +1411,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
14101411
LintId::of(&types::ABSURD_EXTREME_COMPARISONS),
14111412
LintId::of(&types::BORROWED_BOX),
14121413
LintId::of(&types::BOX_VEC),
1413-
LintId::of(&types::CAST_PTR_ALIGNMENT),
14141414
LintId::of(&types::CAST_REF_TO_MUT),
14151415
LintId::of(&types::CHAR_LIT_AS_U8),
14161416
LintId::of(&types::FN_TO_NUMERIC_CAST),
@@ -1669,7 +1669,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
16691669
LintId::of(&transmute::WRONG_TRANSMUTE),
16701670
LintId::of(&transmuting_null::TRANSMUTING_NULL),
16711671
LintId::of(&types::ABSURD_EXTREME_COMPARISONS),
1672-
LintId::of(&types::CAST_PTR_ALIGNMENT),
16731672
LintId::of(&types::CAST_REF_TO_MUT),
16741673
LintId::of(&types::UNIT_CMP),
16751674
LintId::of(&unicode::ZERO_WIDTH_SPACE),

src/lintlist/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ pub static ref ALL_LINTS: Vec<Lint> = vec![
166166
},
167167
Lint {
168168
name: "cast_ptr_alignment",
169-
group: "correctness",
169+
group: "pedantic",
170170
desc: "cast from a pointer to a more-strictly-aligned pointer",
171171
deprecation: None,
172172
module: "types",

0 commit comments

Comments
 (0)