Files
rust/tests/ui
Matthias Krüger bace7f986c Rollup merge of #141703 - compiler-errors:deref-place, r=lcnr
Structurally normalize types as needed in `projection_ty_core`

Introduce a `structurally_normalize` callback to `projection_ty_core`, and then use it before we match on the ty kind in `projection_ty_core`.

Previously we were only structurally normalizing the return type of the `handle_field` struct, but if we were to (e.g.) apply a deref projection to that type, then the resulting type is not guaranteed to be structurally normalized and any subsequent projections applied would ICE.

Fixes https://github.com/rust-lang/trait-system-refactor-initiative/issues/221

I'll leave a few comments inline to explain the changes.

r? lcnr

---

Also fixes rust-lang/rust#141708
2025-05-30 13:39:52 +02:00
..
2025-05-21 07:24:43 +00:00
2025-05-12 16:35:09 +02:00
2025-05-07 16:29:59 +00:00
2025-05-28 15:14:34 +01:00
2025-05-28 15:14:34 +01:00
2025-05-09 12:09:15 +02:00
2025-05-21 20:38:49 +01:00
2025-05-07 16:29:59 +00:00
2025-04-25 20:50:57 +09:00
2025-05-03 17:22:52 +02:00
2025-04-21 16:16:38 +09:00
2025-05-26 16:35:36 +01:00
2025-05-28 15:14:34 +01:00
2025-04-25 20:50:57 +09:00
2025-05-21 20:20:19 +01:00
2025-05-05 21:09:31 +02:00
2025-05-07 21:51:41 +05:00
2025-05-09 22:21:35 +05:00