mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 22:54:58 +00:00
Include self
in usage search for modules in their definition source
This commit is contained in:
parent
1fa82adfdc
commit
34c28c1bbc
4 changed files with 79 additions and 5 deletions
|
@ -707,6 +707,7 @@ use self$0;
|
|||
expect![[r#"
|
||||
foo Module FileId(0) 0..8 4..7
|
||||
|
||||
FileId(1) 4..8
|
||||
"#]],
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue