pub fn lint_data(dir: &str, target: Option<&str>, nodes: usize) -> StringExpand description
target: null is a whole-directory lint — the only mode that runs the entry-point check —
so a caller can tell an empty diagnostics there from an empty one under a target, where
that check never runs at all.