]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #67333 - wesleywiser:fix_inline_into_box_place, r=oli-obk
authorMazdak Farrokhzad <twingoow@gmail.com>
Sat, 21 Dec 2019 18:07:36 +0000 (19:07 +0100)
committerGitHub <noreply@github.com>
Sat, 21 Dec 2019 18:07:36 +0000 (19:07 +0100)
commitac6dbff45e7bce90b70533d322f06de9730c2781
tree7a06bdad125cc49139578ed7e5a59e57f3a8b73f
parentb50c3b7ddfd4e6f6b3aa2f99522637138320dab0
parentf1325a78e6567d86d4c83d21477097b8ee3f7526
Rollup merge of #67333 - wesleywiser:fix_inline_into_box_place, r=oli-obk

[mir-opt] Fix `Inline` pass to handle inlining into `box` expressions

r? @oli-obk

Before, the test case just ICE'd here:

https://github.com/rust-lang/rust/blob/a605441e049f0b6d5f7715b94b8ac4662fd7fcf6/src/librustc_mir/transform/inline.rs#L668