rust/tests/ui/associated-types
Matthias Krüger 4bf7765388
Rollup merge of #142477 - JonathanBrouwer:associated-type-suggestion, r=WaffleLapkin
Fix incorrect suggestion when calling an associated type with a type anchor

`sugg_span` here is the span of the call expression.
That span here is the `<Self>::Assoc`, which is exactly what we need here (even though I would expect it to include the arguments, but I guess it doesn't)

r? ``@WaffleLapkin``
One commit with failing tests and one that fixes it for reviewability

closes rust-lang/rust#142473
2025-06-14 11:27:12 +02:00
..
2025-06-14 00:08:02 +02:00
2024-12-30 14:56:21 +07:00
2025-04-29 03:07:24 +00:00
2025-04-29 03:07:24 +00:00
2025-04-29 03:07:24 +00:00
2025-04-29 03:07:24 +00:00
2025-01-07 16:04:14 +01:00