diff options
| author | bors <bors@rust-lang.org> | 2018-05-13 06:04:54 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-05-13 06:04:54 +0000 |
| commit | f9ae5bc1c5a98427244a8b3abd7c7e337267fb1c (patch) | |
| tree | 04a5d07da6284da6470417a715f50eb624025df2 /src/rustllvm/RustWrapper.cpp | |
| parent | 6fc409ed0938cd2f501642abcaa675977fa5035a (diff) | |
| parent | 9235c9ff462f1ed05e9bcf7b06c1f3c1bbc875e2 (diff) | |
| download | rust-f9ae5bc1c5a98427244a8b3abd7c7e337267fb1c.tar.gz rust-f9ae5bc1c5a98427244a8b3abd7c7e337267fb1c.zip | |
Auto merge of #50622 - eddyb:make-room-for-ghosts, r=nikomatsakis
rustc: leave space for fields of uninhabited types to allow partial initialization. Fixes #49298 by only collapsing uninhabited enum variants, and only if they only have ZST fields. Fixes #50442 incidentally (@nox's optimization didn't take into account uninhabited variants).
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
