Skip to content

Commit

Permalink
Auto merge of #8497 - Manishearth:transmute-undefined-repr-note, r=fl…
Browse files Browse the repository at this point in the history
…ip1995

comment about transmute_undefined_repr in nursery

See discussion in #8432

changelog: none
  • Loading branch information
bors committed Mar 3, 2022
2 parents 6e211ea + 78547b1 commit ef4af1d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions clippy_lints/src/transmute/mod.rs
Original file line number Diff line number Diff line change
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 ef4af1d

Please sign in to comment.