Skip to content

Commit

Permalink
comment about transmute_undefined_repr in nursery
Browse files Browse the repository at this point in the history
  • Loading branch information
Manishearth authored and flip1995 committed Mar 3, 2022
1 parent 14f3d05 commit 78547b1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions clippy_lints/src/transmute/mod.rs
Expand Up @@ -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);
Expand Down

0 comments on commit 78547b1

Please sign in to comment.