pub fn run(manifest_dir: impl AsRef<Path>) -> Result<LintReport, IndexError>Expand description
Run the lint against the crate whose Cargo.toml sits in manifest_dir.
The module walk starts from [lib] path in Cargo.toml; without that key,
from src/lib.rs when src/ exists, else from lib.rs (CrateRoot).