mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-14 17:07:17 +00:00
Auto merge of #8497 - Manishearth:transmute-undefined-repr-note, r=flip1995
comment about transmute_undefined_repr in nursery See discussion in https://github.com/rust-lang/rust-clippy/pull/8432 changelog: none
This commit is contained in:
commit
ef4af1d2d8
1 changed files with 4 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue