]> git.lizzy.rs Git - rust.git/commit
Fix const trans
authorSeo Sanghyeon <sanxiyn@gmail.com>
Tue, 22 Mar 2016 17:10:09 +0000 (02:10 +0900)
committerSeo Sanghyeon <sanxiyn@gmail.com>
Tue, 22 Mar 2016 17:10:09 +0000 (02:10 +0900)
commit308dc55f788ad884393604d461b81de4e4bf3e98
tree277a75b7b105039e6cb0fdc7bc1468d8b16b5cc2
parent6c4b1f18f3c2a2de17c3562d6557a445b627bcc1
Fix const trans

Const was dereferenced when autoderefs is zero.
src/librustc_trans/trans/consts.rs
src/test/run-pass/issue-30615.rs [new file with mode: 0644]