Skip to main content

lint_imports_with_deps

Function lint_imports_with_deps 

Source
pub fn lint_imports_with_deps(
    entry: &Path,
    dep_roots: Vec<DepRoot>,
) -> Result<Vec<ImportLint>, String>
Expand description

lint_imports, resolving imports with the declared dependency roots so a path/git-local import is lint-checked too. dep_roots empty is identical to lint_imports.