about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-06-24 07:29:59 +0000
committerbors <bors@rust-lang.org>2021-06-24 07:29:59 +0000
commit456a03227e3c81a51631f87ec80cac301e5fa6d7 (patch)
treeb31d83d758e546f49317b091a366df589c498cd6 /compiler/rustc_codegen_llvm/src
parent964a81eb37db6ee33b8fc107582618bf2befe02d (diff)
parent4e755a96a74b7d79a8796f78a194efca5d6d649b (diff)
downloadrust-456a03227e3c81a51631f87ec80cac301e5fa6d7.tar.gz
rust-456a03227e3c81a51631f87ec80cac301e5fa6d7.zip
Auto merge of #86279 - JohnTitor:transparent-zero-size-fields, r=nikomatsakis
Permit zero non-zero-field on transparent types

Fixes #77841

This makes the transparent fields meet the below:
> * A `repr(transparent)` type `T` must meet the following rules:
>   * It may have any number of 1-ZST fields
>   * In addition, it may have at most one other field of type U

r? `@nikomatsakis`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions