diff options
| author | bors <bors@rust-lang.org> | 2023-02-15 20:56:07 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-02-15 20:56:07 +0000 |
| commit | 9b99a58301268f2c5fabe396006c0198cc4b5824 (patch) | |
| tree | a99585f9e41946e87c121f20cbd5a6e66a45c719 /compiler/rustc_llvm/llvm-wrapper | |
| parent | 14bc2e60c236d3b349142cda071cafc9ceee2d3a (diff) | |
| parent | c75610891d8910d350e537acea82571d21d8cf9d (diff) | |
| download | rust-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
