From bd18e5fa87f6fb0904b0cc439e254667c92bd30e Mon Sep 17 00:00:00 2001 From: Jonas Schievink Date: Sun, 28 Mar 2021 03:56:03 +0200 Subject: Don't mark unlinked file diagnostic as unused --- crates/ide/src/diagnostics.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/crates/ide/src/diagnostics.rs b/crates/ide/src/diagnostics.rs index 22697a537..dd42116a7 100644 --- a/crates/ide/src/diagnostics.rs +++ b/crates/ide/src/diagnostics.rs @@ -165,7 +165,6 @@ pub(crate) fn diagnostics( sema.diagnostics_display_range(d.display_source()).range, d.message(), ) - .with_unused(true) .with_fix(d.fix(&sema)) .with_code(Some(d.code())), ); -- cgit v1.2.3