Skip to content

Commit 8c7e376

Browse files
committed
Auto merge of rust-lang#13275 - Veykril:find-path, r=Veykril
Fix find_path using the wrong module for visibility calculations
2 parents 1a24003 + 729a9eb commit 8c7e376

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/hir-def/src/find_path.rs

+1-1
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)