Fix find_path using the wrong module for visibility calculations

This commit is contained in:
Lukas Wirth 2022-09-22 17:56:58 +02:00
parent 5b49745d00
commit 729a9eb5d0

View file

@ -333,8 +333,8 @@ fn calculate_best_path(
db,
def_map,
visited_modules,
from,
crate_root,
from,
info.container,
max_len - 1,
prefixed,