]> git.lizzy.rs Git - rust.git/commit
Merge #6666
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>
Sun, 29 Nov 2020 14:35:38 +0000 (14:35 +0000)
committerGitHub <noreply@github.com>
Sun, 29 Nov 2020 14:35:38 +0000 (14:35 +0000)
commit05f75d601f10b32a39b4f03a49f9bde268f0bfc0
tree7a9676bfe0e5bef8a9c2c78a80e60896b097a6b1
parentc8a2ff6ecc8e45c7e1420e01d52c8b7a315140e6
parent37438c3335cedc6d89e47cc123a5c23dabaef2a2
Merge #6666

6666: Support 'go to definition' for self r=jonas-schievink a=Veykril

Also reverts #6660, instead of showing the type it now works like it does for names by returning the declaration we are already on. This for example enables VSCode to show all references(#6665) when executing `go to definition` on the declaration.

Co-authored-by: Lukas Wirth <lukastw97@gmail.com>