about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorJack Wrenn <jack@wrenn.fyi>2022-07-20 20:21:57 +0000
committerJack Wrenn <jack@wrenn.fyi>2022-07-27 17:33:56 +0000
commit0fa70c3b1272c986eed27f838b645892ad435772 (patch)
treefbc2f3d8bce5d3c71cb87debfcb7a2697253d1be /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent8c5c291882d3cafd26757bb1326fc3b3135a87f5 (diff)
downloadrust-0fa70c3b1272c986eed27f838b645892ad435772.tar.gz
rust-0fa70c3b1272c986eed27f838b645892ad435772.zip
safe transmute: revise `Hash`, `PartialEq` impls on `VariantDef`, `FieldDef`
Exhaustively destructure parameter(s) so that changes to type
definitions will lead to compile errors, thus reminding contributors
to re-assess the assumptions underpinning these impls.

ref: https://github.com/rust-lang/rust/pull/92268/#discussion_r925241377
ref: https://github.com/rust-lang/rust/pull/92268/#discussion_r925241718
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions