pub fn lint_imports(entry: &Path) -> Result<Vec<ImportLint>, String>Expand description
Lint the entry file’s imports for unused / duplicate / self-import problems.
Unresolvable imports are NOT reported here — the assembler already rejects
those with a suggestion. Returns Err only if the entry can’t be read.