about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-02-06 16:05:00 +0000
committerbors <bors@rust-lang.org>2022-02-06 16:05:00 +0000
commit093e32052e4f3b0a92293dac4a5524effda86934 (patch)
treeec9d002c642d298896ddfe9f53c6d6548facab5a /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parent68b44986de6a8c9e844afa55693a24f0d4a0978e (diff)
parent68993b1f6cf94701ff420e51aa927c568ae7eef2 (diff)
downloadrust-093e32052e4f3b0a92293dac4a5524effda86934.tar.gz
rust-093e32052e4f3b0a92293dac4a5524effda86934.zip
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`
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions