summaryrefslogtreecommitdiff
path: root/src/codegen/helpers.rs
diff options
context:
space:
mode:
authorNick Fitzgerald <fitzgen@gmail.com>2017-11-02 14:57:44 -0700
committerNick Fitzgerald <fitzgen@gmail.com>2017-11-03 08:17:09 -0700
commit43b88c5e79fbff43449b2a8e584137ca00b13ae6 (patch)
tree77ca84509f75ddb53640b1e25fb6a40cdb0b0964 /src/codegen/helpers.rs
parent406b4775808a9dcd328491f4879c7cc5126307b3 (diff)
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
Diffstat (limited to 'src/codegen/helpers.rs')
0 files changed, 0 insertions, 0 deletions