about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-02-15 20:56:07 +0000
committerbors <bors@rust-lang.org>2023-02-15 20:56:07 +0000
commit9b99a58301268f2c5fabe396006c0198cc4b5824 (patch)
treea99585f9e41946e87c121f20cbd5a6e66a45c719 /compiler/rustc_llvm/llvm-wrapper
parent14bc2e60c236d3b349142cda071cafc9ceee2d3a (diff)
parentc75610891d8910d350e537acea82571d21d8cf9d (diff)
downloadrust-9b99a58301268f2c5fabe396006c0198cc4b5824.tar.gz
rust-9b99a58301268f2c5fabe396006c0198cc4b5824.zip
Auto merge of #108012 - compiler-errors:issue-107999, r=oli-obk
Don't ICE in `might_permit_raw_init` if reference is polymorphic

Emitting optimized MIR for a polymorphic function may require computing layout of a type that isn't (yet) known. This happens in the instcombine pass, for example. Let's fail gracefully in that condition.

cc `@saethlin`
fixes #107999
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper')
0 files changed, 0 insertions, 0 deletions