Open A4-Tacks opened 1 month ago
Let's see if I can do this (I guess this will involve some fundamental changes to namres)...
@rustbot claim
There is a couple of related issues to this https://github.com/rust-lang/rust-analyzer/issues/7084 https://github.com/rust-lang/rust-analyzer/issues/14862 https://github.com/rust-lang/rust-analyzer/issues/15749
The gist of the issue is that we don't handle the textual macro_rules scoping correctly (as well as the macro definition hierarchy https://rustc-dev-guide.rust-lang.org/macro-expansion.html#the-macro-definition-hierarchy)
@rustbot release-assignment
Occupied with other things currently.
rust-analyzer version: rust-analyzer 1.82.0-nightly (7c2012d0 2024-07-26)
rustc version: rustc 1.82.0-nightly (7c2012d0e 2024-07-26)
editor or extension: Vim9.1 coc-rust-analyzer
code snippet to reproduce:
rename
foo
intobar
expect output: