]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #30774 - nagisa:mir-fix-constval-adts, r=arielb1
authorSimonas Kazlauskas <github@kazlauskas.me>
Mon, 11 Jan 2016 19:17:53 +0000 (21:17 +0200)
committerSimonas Kazlauskas <github@kazlauskas.me>
Mon, 11 Jan 2016 19:17:53 +0000 (21:17 +0200)
Fixes #30772

We used to have a untested special case which didn’t really work anyway, because of lacking casts. This PR removes the case in question.

1  2 
src/librustc_trans/trans/mir/constant.rs