diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2017-11-03 10:18:48 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-03 10:18:48 -0500 |
commit | eccc0bfa8ea72a382c6e342f9e2f70af1c045a18 (patch) | |
tree | 77ca84509f75ddb53640b1e25fb6a40cdb0b0964 /src/codegen/helpers.rs | |
parent | 406b4775808a9dcd328491f4879c7cc5126307b3 (diff) | |
parent | 43b88c5e79fbff43449b2a8e584137ca00b13ae6 (diff) |
Auto merge of #1141 - fitzgen:bitfield-without-layout, r=emilio
Make bitfield unit allocation fallible
Instead of panicking when we see a bitfield that does not have a layout, return an error up the stack. If we get an error when allocating bitfields into units, then make the whole struct opaque.
Fixes #1140
r? @pepyakin or @emilio
Diffstat (limited to 'src/codegen/helpers.rs')
0 files changed, 0 insertions, 0 deletions