rust/compiler
Matthias Krüger 4c12f5d252
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.
2023-05-12 07:11:14 +02:00
..
2023-05-05 21:44:48 +02:00
2023-05-02 10:45:16 -07:00
2023-05-01 16:15:13 +08:00
2023-05-02 10:32:07 +00:00
2023-05-08 14:23:19 +00:00