From 78547b171631f466cb46845fdf2976d66c48ed24 Mon Sep 17 00:00:00 2001 From: Manish Goregaokar Date: Wed, 2 Mar 2022 09:54:50 -0800 Subject: [PATCH] comment about transmute_undefined_repr in nursery --- clippy_lints/src/transmute/mod.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/clippy_lints/src/transmute/mod.rs b/clippy_lints/src/transmute/mod.rs index 1da3b7659048..23cb9d40dfdc 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(u32, T);