rust/compiler
Matthias Krüger ee63d09bd6
Rollup merge of #100483 - compiler-errors:point-to-projection-too, r=jyn514
Point to generic or arg if it's the self type of unsatisfied projection predicate

We do this for `TraitPredicate`s in `point_at_type_arg_instead_of_call_if_possible` and `point_at_arg_instead_of_call_if_possible`, so also do it for `ProjectionPredicate`.

Improves spans for a lot of unit tests.
2022-08-15 10:28:11 +02:00
..
2022-08-10 17:22:58 +02:00
2022-08-12 16:28:15 -04:00
2022-08-12 16:28:15 -04:00
2022-08-12 16:28:15 -04:00
2022-08-12 16:28:15 -04:00
2022-08-14 19:58:46 +00:00
2022-08-12 16:28:15 -04:00
2022-08-12 16:28:15 -04:00
2022-08-12 16:28:15 -04:00
2022-08-12 16:28:15 -04:00
2022-08-14 19:58:46 +00:00
2022-08-12 16:28:15 -04:00
2022-08-01 08:53:04 +10:00
2022-08-12 16:28:15 -04:00
2022-08-12 16:28:15 -04:00
2022-08-14 19:58:46 +00:00
2022-08-12 16:28:15 -04:00
2022-08-12 16:28:15 -04:00
2022-08-12 16:28:15 -04:00
2022-08-12 16:28:15 -04:00