transmute_undefined_repr is wrong, transmute does not require a defined layout #8417
Labels
C-bug
Category: Clippy is not doing the correct thing
I-false-positive
Issue: The lint was triggered on code it shouldn't have
Summary
The description of transmute_undefined_repr says:
I think this is not correct. Transmute does not require either side to have a defined representation. It only requires that both sides have the same representation, which can be guaranteed without defining what that representation is.
Lint Name
transmute_undefined_repr
Reproducer
Version
Additional Labels
No response
The text was updated successfully, but these errors were encountered: