Skip to main content

assert_clean

Function assert_clean 

Source
pub fn assert_clean()
Expand description

Checks the package whose tests are running and panics with every diagnostic, warnings included, the way cargo clippy -- -D warnings fails. Call it from a #[test].

§Panics

When a rule is broken, and when the package cannot be read.