Skip to content

Commit 729a9eb

Browse files
committed
Fix find_path using the wrong module for visibility calculations
1 parent 5b49745 commit 729a9eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/hir-def/src/find_path.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,8 +333,8 @@ fn calculate_best_path(
333333
db,
334334
def_map,
335335
visited_modules,
336-
from,
337336
crate_root,
337+
from,
338338
info.container,
339339
max_len - 1,
340340
prefixed,

0 commit comments

Comments
 (0)