bors 093e32052e Auto merge of #8398 - Jarcho:unordered_transmute, r=llogiq
Add lint `transmute_undefined_repr`

Partially implements #3999 and #546

This doesn't consider `enum`s at all right now as those are going to be a pain to deal with. This also allows `#[repr(Rust)]` structs with only one non-zero sized fields. I think those are technically undefined when transmuted.

changelog: Add lint `transmute_undefined_repr`
2022-02-06 16:05:00 +00:00
..
2021-08-11 14:21:33 +00:00
2022-02-05 16:28:25 -05:00
2021-08-11 14:21:33 +00:00
2021-10-13 11:06:14 +00:00
2022-02-01 15:05:20 -05:00