-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
macro call site go to definition #17032
Comments
What rust-analyzer version are you on? (There is a reason for the issue template existing, so it'd be nice if you filled that out...) |
rust-analyzer --version
rust-analyzer 1.77.1 (7cf61ebd 2024-03-27) this is the rust-analyzer's version, please let me know if there is a fix to this or not @Veykril |
this is the rust-analyzer version vscode is using |
rustc -V |
Looks like we fail to resolve the extern prelude in local modules in block modules, it works fine if the fn main() {
mod f {
use core as _;
}
} here |
can someone fix this shit? it also happens with local modules when its outside of main |
Probably fixed in #17251. |
rust-analyzer version: (eg. output of "rust-analyzer: Show RA Version" command, accessible in VSCode via Ctrl/⌘+Shift+P)
rustc version: (eg. output of
rustc -V
)editor or extension: (eg. VSCode, Vim, Emacs, etc. For VSCode users, specify your extension version; for users of other editors, provide the distribution if applicable)
relevant settings: (eg. client settings, or environment variables like
CARGO
,RUSTC
,RUSTUP_HOME
orCARGO_HOME
)repository link (if public, optional): (eg. rust-analyzer)
code snippet to reproduce:
// add your code here
would be useful that go to definition takes you to the call site of the macro, right now this tells very little of the inner workings or what is going really right now.
Please let me know if someone cares about implementing this.
The text was updated successfully, but these errors were encountered: