mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 14:51:48 +00:00
Return all usages inside macros in usage searches
This commit is contained in:
parent
512135920d
commit
72bfbb0691
3 changed files with 10 additions and 10 deletions
|
@ -424,6 +424,7 @@ macro_rules! foo {
|
|||
foo!(bar$0);
|
||||
// ^^^
|
||||
// ^^^
|
||||
// ^^^
|
||||
fn foo() {
|
||||
let bar: bar = bar();
|
||||
// ^^^
|
||||
|
@ -442,6 +443,7 @@ macro_rules! foo {
|
|||
|
||||
foo!(bar);
|
||||
// ^^^
|
||||
// ^^^
|
||||
fn foo() {
|
||||
let bar: bar$0 = bar();
|
||||
// ^^^
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue