Auto merge of #13275 - Veykril:find-path, r=Veykril

Fix find_path using the wrong module for visibility calculations
This commit is contained in:
bors 2022-09-27 01:14:02 +00:00
commit 8c7e37697f

View File

@ -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,