pub fn find_integration_violations(
root: impl AsRef<Path>,
) -> Result<Vec<Violation>>Expand description
Scan the Rust integration crates under root (the *.rs files in a tests/
directory) and return every no-first-party-double violation — a #[double]
import of a first-party item. An integration test runs first-party code for
real, so doubling it is the error; doubling an external crate is fine. root
is the crate root; its Cargo.toml names the first-party crates.