Skip to content

Commit 2208884

Browse files
move crosspointer_transmute from complexity to suspicious (#15403)
changelog: [`crosspointer_transmute`]: move from `complexity` to `suspicious` this looks to me like an obvious miscategorisation -- and there was already [a proposal to move the lint](#6626 (comment))
2 parents d654c26 + 7aa7563 commit 2208884

File tree

1 file changed

+1
-1
lines changed
  • clippy_lints/src/transmute

1 file changed

+1
-1
lines changed

clippy_lints/src/transmute/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ declare_clippy_lint! {
105105
/// ```
106106
#[clippy::version = "pre 1.29.0"]
107107
pub CROSSPOINTER_TRANSMUTE,
108-
complexity,
108+
suspicious,
109109
"transmutes that have to or from types that are a pointer to the other"
110110
}
111111

0 commit comments

Comments
 (0)