-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After upgrading to v0.3.1791 "Go to definition" moves me to the first line of impl
instead of the method name
#16229
Comments
impl
instead of the method nameimpl
instead of the method name
Are macros involved? Does this happen with any specific impl or all? We need more context here |
The code is complex... I cannot right now create a complete reproduction. Sorry. |
I noticed the problem is occurring when I use So, with macros maybe? |
Yes the macro is most likely the cause, the mapping out of the proc-macro most likely goes to the call site for some reason, that should suffice to investigate. |
fix: Fix focus range being discarded in attributes/derives when upmapping Fixes #16229
fix: Fix focus range being discarded in attributes/derives when upmapping Fixes #16229
@bors is this going to be released soon? |
It is already on the nightly r-a (pre-)release, otherwise it will release on the stable release on monday. |
still open for node runner |
rust-analyzer version: v0.3.1791
rustc version: rustc 1.74.1 (a28077b28 2023-12-04)
After upgrading to v0.3.1791 "Go to definition" moves me to the first line of
impl
instead of the method name.The text was updated successfully, but these errors were encountered: