pub fn find_violations(root: impl AsRef<Path>) -> Result<Vec<Violation>>Expand description
Scan the Rust source files under root and return every isolation violation,
sorted by (file, line) for deterministic output.
root is the crate root: its Cargo.toml names the external crates whose
calls are out-of-module. Every *.rs file under it is parsed; a file that
cannot be read or parsed is an error.