fn remapping_candidates<L: Clone>(
paths: &ProjectPathsConfig<L>,
import: &Path,
file: &Path,
) -> BTreeMap<String, BTreeSet<String>>Expand description
Finds aliases restricted to dependency contexts that would resolve an import.
Root files get root remappings. Dependency files get remappings scoped to their innermost dependency, so the fix does not redirect the alias for the root or other dependencies.