SIGN IN SIGN UP
rust-lang / rust UNCLAIMED

Empowering everyone to build reliable and efficient software.

0 0 65 Rust

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````
M
Michael Goulet committed
3f19de635203f0e8dbef04fff4cda524d76d4021
Committed by GitHub <noreply@github.com> on 1/5/2024, 3:57:23 PM