Matthias Krüger 958413cc08
Rollup merge of #110195 - compiler-errors:issue-110052, r=aliemjay
Erase lifetimes above `ty::INNERMOST` when probing ambiguous types

Turns out that `TyCtxt::replace_escaping_bound_vars_uncached` only erases bound vars exactly at `ty::INNERMOST`, and not everything above. This regresses the suggestions for non-lifetime binders, but oh well, I don't really care about those.

Fixes #110052
2023-04-13 11:21:00 +02:00
..
2023-02-16 11:42:35 -03:00
2023-02-16 11:42:35 -03:00
2023-02-16 11:42:35 -03:00
2023-02-16 11:42:35 -03:00
2023-02-22 21:52:26 +00:00