Matthias Krüger 802f71b294
Rollup merge of #118112 - compiler-errors:index-ambiguity-ice, r=aliemjay
Don't ICE when ambiguity is found when selecting `Index` implementation in typeck

Fixes #118111

The problem here is when we're manually "selecting" an impl for `base_ty: Index<?0>`, we don't consider placeholder region errors (leak check) or ambiguous predicates. Those can lead to us not actually emitting any fulfillment errors on line 3131.
2023-11-21 23:46:20 +01:00
..
2023-10-30 22:19:17 +00:00
2023-10-28 23:11:03 -07:00
2023-11-13 16:25:16 -08:00
2023-10-28 23:11:03 -07:00
2023-11-16 17:00:23 +00:00
2023-11-09 10:40:55 -05:00
2023-10-20 21:14:01 +00:00
2023-11-16 17:00:23 +00:00
2023-11-16 17:00:23 +00:00
2023-10-28 23:11:03 -07:00
2023-11-14 13:41:28 +00:00
2023-10-28 23:11:03 -07:00
2023-11-07 05:23:09 +00:00
2023-11-16 17:00:23 +00:00
2023-11-16 17:00:23 +00:00