mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 12:54:58 +00:00
Fix find_path using the wrong module for visibility calculations
This commit is contained in:
parent
5b49745d00
commit
729a9eb5d0
1 changed files with 1 additions and 1 deletions
|
@ -333,8 +333,8 @@ fn calculate_best_path(
|
||||||
db,
|
db,
|
||||||
def_map,
|
def_map,
|
||||||
visited_modules,
|
visited_modules,
|
||||||
from,
|
|
||||||
crate_root,
|
crate_root,
|
||||||
|
from,
|
||||||
info.container,
|
info.container,
|
||||||
max_len - 1,
|
max_len - 1,
|
||||||
prefixed,
|
prefixed,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue