diff options
| author | Tyler Mandry <tmandry@gmail.com> | 2019-07-26 19:36:26 -0700 |
|---|---|---|
| committer | Tyler Mandry <tmandry@gmail.com> | 2019-07-29 12:17:49 -0700 |
| commit | 6fae7f807146e400fa2bbd1c44768d9bcaa57c4c (patch) | |
| tree | 83c3496735c01f5d7b0f4408b4c8d2f4e12761a3 /src/rustllvm/RustWrapper.cpp | |
| parent | c43753f910aae000f8bcb0a502407ea332afc74b (diff) | |
| download | rust-6fae7f807146e400fa2bbd1c44768d9bcaa57c4c.tar.gz rust-6fae7f807146e400fa2bbd1c44768d9bcaa57c4c.zip | |
Wrap promoted generator fields in MaybeUninit
This prevents uninhabited fields from "infecting" the abi and largest_niche of the generator layout. This fixes a latent bug, where an uninhabited field could be promoted to the generator prefix and cause the entire generator to become uninhabited.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
