2 Checks for transmutes between types which do not have a representation defined relative to
6 The results of such a transmute are not defined.
9 This lint has had multiple problems in the past and was moved to `nursery`. See issue
10 [#8496](https://github.com/rust-lang/rust-clippy/issues/8496) for more details.
14 struct Foo<T>(u32, T);
15 let _ = unsafe { core::mem::transmute::<Foo<u32>, Foo<i32>>(Foo(0u32, 0u32)) };
20 struct Foo<T>(u32, T);
21 let _ = unsafe { core::mem::transmute::<Foo<u32>, Foo<i32>>(Foo(0u32, 0u32)) };