Skip to main content

find_violations

Function find_violations 

Source
pub fn find_violations(root: impl AsRef<Path>) -> Result<Vec<Violation>>
Expand description

Every isolation violation in the unit source under crate root root, sorted by (file, line). root’s Cargo.toml names the external crates. tests/, benches/, examples/, and target/ are not unit source, so a local build changes no result.