diff options
| author | Samuel Tardieu <sam@rfc1149.net> | 2025-08-08 11:14:15 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-08 11:14:15 +0000 |
| commit | 22088843b40d71296e3cf917537a6f8e47926735 (patch) | |
| tree | 8551156ce25f05d2d73bcbaef13b2fd18f8003a2 | |
| parent | d654c267f8151ae5e1901f7050d294f4a8391af5 (diff) | |
| parent | 7aa75635c867508f7b2f47111d60d4d236cd969c (diff) | |
| download | rust-22088843b40d71296e3cf917537a6f8e47926735.tar.gz rust-22088843b40d71296e3cf917537a6f8e47926735.zip | |
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](https://github.com/rust-lang/rust-clippy/issues/6626#issuecomment-1279775089)
| -rw-r--r-- | clippy_lints/src/transmute/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/transmute/mod.rs b/clippy_lints/src/transmute/mod.rs index d5112e2c3f9..1c7bb4314dd 100644 --- a/clippy_lints/src/transmute/mod.rs +++ b/clippy_lints/src/transmute/mod.rs @@ -105,7 +105,7 @@ declare_clippy_lint! { /// ``` #[clippy::version = "pre 1.29.0"] pub CROSSPOINTER_TRANSMUTE, - complexity, + suspicious, "transmutes that have to or from types that are a pointer to the other" } |
