]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #61404 - RalfJung:miri-unsize, r=oli-obk
authorMazdak Farrokhzad <twingoow@gmail.com>
Tue, 4 Jun 2019 02:48:06 +0000 (04:48 +0200)
committerGitHub <noreply@github.com>
Tue, 4 Jun 2019 02:48:06 +0000 (04:48 +0200)
commitfb4652e85f1729412f6298aea033cb26b4755de9
treeb6ad5d48a79303604d183a90f1d3abd1c8768646
parent45cdc6d578a1012cad33284be48d31257f5c21ac
parentf23cbeab1ddab22a81e8cc5dbca4a4eb205503ea
Rollup merge of #61404 - RalfJung:miri-unsize, r=oli-obk

miri unsizing: fix projecting into a field of an operand

I don't know why this open-coded an operand field projection. Probably this code predates one or more of my refactorings.

Fixes https://github.com/rust-lang/miri/issues/754

r? @oli-obk
src/librustc_mir/interpret/cast.rs