Skip to content

Commit

Permalink
Auto merge of rust-lang#13275 - Veykril:find-path, r=Veykril
Browse files Browse the repository at this point in the history
Fix find_path using the wrong module for visibility calculations
  • Loading branch information
bors committed Sep 27, 2022
2 parents 1a24003 + 729a9eb commit 8c7e376
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/hir-def/src/find_path.rs
Original file line number Diff line number Diff line change
Expand Up @@ -333,8 +333,8 @@ fn calculate_best_path(
db,
def_map,
visited_modules,
from,
crate_root,
from,
info.container,
max_len - 1,
prefixed,
Expand Down

0 comments on commit 8c7e376

Please sign in to comment.