diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-05-12 07:11:14 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-12 07:11:14 +0200 |
| commit | 4c12f5d25202bbf957d5807dfef26daa70f2f593 (patch) | |
| tree | a2edecf899392158d122947e4d1975ace3594cf0 /compiler/rustc_codegen_llvm/src/llvm_util.rs | |
| parent | 1d4689cb99f21c0f04c544b52073133cd50f2ad5 (diff) | |
| parent | 3009cb3f6bded69d83b1d5fe22b26612496e87fc (diff) | |
| download | rust-4c12f5d25202bbf957d5807dfef26daa70f2f593.tar.gz rust-4c12f5d25202bbf957d5807dfef26daa70f2f593.zip | |
Rollup merge of #111490 - compiler-errors:layout-placeholder, r=aliemjay
Don't ICE in layout computation for placeholder types We use `layout_of` for the built-in `PointerLike` trait to check if a type can be coerced to a `dyn*`. Since the new solver canonicalizes parameter types to placeholders, that code needs to be able to treat placeholders like params, and for the most part it does, **except** for a call to `is_trivially_sized`. This PR fixes that.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm_util.rs')
0 files changed, 0 insertions, 0 deletions
