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
@ -364,6 +364,10 @@
|
||||
/// ### 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 New Issue
Block a user