about summary refs log tree commit diff
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2022-03-02 09:54:50 -0800
committerflip1995 <philipp.krones@embecosm.com>2022-03-03 09:03:27 +0000
commit78547b171631f466cb46845fdf2976d66c48ed24 (patch)
tree1a4cf7b46f064598fdb3b825460154840331655e
parent14f3d059398378a3878fc11242271017af122e80 (diff)
downloadrust-78547b171631f466cb46845fdf2976d66c48ed24.tar.gz
rust-78547b171631f466cb46845fdf2976d66c48ed24.zip
comment about transmute_undefined_repr in nursery
-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);