Skip to content

Commit 78547b1

Browse files
Manishearthflip1995
authored andcommitted
comment about transmute_undefined_repr in nursery
1 parent 14f3d05 commit 78547b1

File tree

1 file changed

+4
-0
lines changed
  • clippy_lints/src/transmute

1 file changed

+4
-0
lines changed

clippy_lints/src/transmute/mod.rs

+4
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,10 @@ declare_clippy_lint! {
364364
/// ### Why is this bad?
365365
/// The results of such a transmute are not defined.
366366
///
367+
/// ### Known problems
368+
/// This lint has had multiple problems in the past and was moved to `nursery`. See issue
369+
/// [#8496](https://github.com/rust-lang/rust-clippy/issues/8496) for more details.
370+
///
367371
/// ### Example
368372
/// ```rust
369373
/// struct Foo<T>(u32, T);

0 commit comments

Comments
 (0)