Skip to content

Commit 32c8211

Browse files
committed
Fix issue where W0008 could not be disabled
Fixes #113
1 parent c841e79 commit 32c8211

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/ide/src/diagnostics.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1830,7 +1830,7 @@ pub fn ct_diagnostics(
18301830
};
18311831
let metadata = db.elp_metadata(file_id);
18321832
res.into_iter()
1833-
.filter(|d| !d.should_be_suppressed(&metadata, config))
1833+
.filter(|d| !config.disabled.contains(&d.code) && !d.should_be_suppressed(&metadata, config))
18341834
.collect()
18351835
}
18361836

0 commit comments

Comments
 (0)