about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-03-03 09:05:21 +0000
committerbors <bors@rust-lang.org>2022-03-03 09:05:21 +0000
commitef4af1d2d8c5048501fae24dbc34836c841e7d6e (patch)
tree59d3a95de992e8906f2584c04d54360d581153d1
parent6e211eac7c682b465ed21000f5a952a272208e2c (diff)
parent78547b171631f466cb46845fdf2976d66c48ed24 (diff)
downloadrust-ef4af1d2d8c5048501fae24dbc34836c841e7d6e.tar.gz
rust-ef4af1d2d8c5048501fae24dbc34836c841e7d6e.zip
Auto merge of #8497 - Manishearth:transmute-undefined-repr-note, r=flip1995
comment about transmute_undefined_repr in nursery

See discussion in https://github.com/rust-lang/rust-clippy/pull/8432

changelog: none
-rw-r--r--clippy_lints/src/transmute/mod.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/clippy_lints/src/transmute/mod.rs b/clippy_lints/src/transmute/mod.rs
index 1da3b765904..23cb9d40dfd 100644
--- a/clippy_lints/src/transmute/mod.rs
+++ b/clippy_lints/src/transmute/mod.rs
@@ -364,6 +364,10 @@ declare_clippy_lint! {
     /// ### Why is this bad?
     /// The results of such a transmute are not defined.
     ///
+    /// ### Known problems
+    /// This lint has had multiple problems in the past and was moved to `nursery`. See issue
+    /// [#8496](https://github.com/rust-lang/rust-clippy/issues/8496) for more details.
+    ///
     /// ### Example
     /// ```rust
     /// struct Foo<T>(u32, T);