]> git.lizzy.rs Git - rust.git/commit
Auto merge of #38023 - arielb1:constant-evil-x2, r=eddyb
authorbors <bors@rust-lang.org>
Sun, 27 Nov 2016 03:49:41 +0000 (21:49 -0600)
committerGitHub <noreply@github.com>
Sun, 27 Nov 2016 03:49:41 +0000 (21:49 -0600)
commitf3930aab46c1ea470c8c2a2d7d6832174630596d
treefb471e64d274b1a7c94a34313d68327433c4ca32
parentf8614c397313db00e4b4626d1ba77ae00dbf7549
parentfcebf3beab25386f1fbf98ceef859b355ad70f15
Auto merge of #38023 - arielb1:constant-evil-x2, r=eddyb

don't double-apply variant padding to const enums

`build_const_struct` already returns the struct with padding - don't double-apply it in the `General` case.

This should hopefully be the last time we have this sort of bug.

Fixes #38002.

Beta-nominating because regression.

r? @eddyb