Michael Goulet 3f19de6352
Rollup merge of #119586 - GuillaumeGomez:jump-to-def-static-methods, r=notriddle
[rustdoc] Fix invalid handling for static method calls in jump to definition feature

I realized when working on a clippy lint that static method calls on `Self` could not give me the method `Res`. For that, we need to use `typeck` and so that's what I did in here.

It fixes the linking to static method calls.

r? ````@notriddle````
2024-01-05 10:57:23 -05:00
..
2023-11-23 14:54:19 -07:00
2023-10-13 21:01:36 +00:00
2023-10-13 21:01:36 +00:00
2023-10-16 18:01:02 -07:00
2023-10-04 13:04:45 -07:00
2023-10-16 18:01:02 -07:00
2023-11-20 11:50:25 -07:00
2023-02-04 19:10:04 +01:00
2023-03-27 18:58:07 +00:00