]> git.lizzy.rs Git - rust.git/commit - src/tools/rust-analyzer
Rollup merge of #96636 - GuillaumeGomez:fix-jump-to-def-regression, r=notriddle
authorGuillaume Gomez <guillaume1.gomez@gmail.com>
Sat, 7 May 2022 13:23:45 +0000 (15:23 +0200)
committerGitHub <noreply@github.com>
Sat, 7 May 2022 13:23:45 +0000 (15:23 +0200)
commit3346d11f4e8521894377636f145bfc68fad10bea
tree87cbf3de89ee0de2eaf5969d451b6e52b45d871a
parentc29f8575acae4b1e533f630b51a639758919911c
parent3bfa2eb9f09035dcd779910b77880252baaf2ef5
Rollup merge of #96636 - GuillaumeGomez:fix-jump-to-def-regression, r=notriddle

Fix jump to def regression

https://github.com/rust-lang/rust/pull/93803 introduced a regression in the "jump to def" feature. This fixes it.

Nice side-effect: it adds a new regression test. :)

I also used this opportunity to add documentation about this unstable feature in the rustdoc book.

cc ``@cjgillot``
r? ``@notriddle``