5#[test]6fnclippy_is_clean() {
7let path = std::env::var("LINT_REPORT").expect("LINT_REPORT is set by the lint target");
8let report = std::fs::read_to_string(&path).expect("the clippy report exists");
9assert!(report.trim().is_empty(), "clippy and rustc report:\n{report}");
10}