From e90a831f35f44aa282fe60807f51f6812be5bd34 Mon Sep 17 00:00:00 2001 From: BrettMayson Date: Wed, 9 Oct 2024 00:47:48 -0600 Subject: [PATCH] common: don't filter errors that are partially from includes (#790) --- bin/src/report.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/src/report.rs b/bin/src/report.rs index ab5269a0..18185c5a 100644 --- a/bin/src/report.rs +++ b/bin/src/report.rs @@ -127,7 +127,7 @@ fn filter_codes( } else { !c.include() && c.diagnostic() - .map_or(true, |d| !d.labels.iter().any(|l| l.file().is_include())) + .map_or(true, |d| !d.labels.iter().all(|l| l.file().is_include())) } }) .cloned()