]> git.lizzy.rs Git - rust.git/commit
auto merge of #18113 : bkoropoff/rust/issue-16739, r=alexcrichton
authorbors <bors@rust-lang.org>
Sat, 18 Oct 2014 21:02:17 +0000 (21:02 +0000)
committerbors <bors@rust-lang.org>
Sat, 18 Oct 2014 21:02:17 +0000 (21:02 +0000)
commit1c82e60ca78da1f659db0c7dc82fe8c05566224f
treeab17a876389f8f7b0f9d396e0ff3f33311df265a
parentce342f522c10eef8799f2b91b7f39947d40f93ce
parentf4cb9f466383d2c7b9e9c23c9a41e5310fede4a6
auto merge of #18113 : bkoropoff/rust/issue-16739, r=alexcrichton

When translating the unboxing shim, account for the fact that the shim translation has already performed the necessary unboxing of input types and values when forwarding to the shimmed function.  This prevents ICEing or generating incorrect code.

Closes #16739
src/librustc/middle/trans/type_of.rs