Skip to content

Commit bd18e5f

Browse files
Don't mark unlinked file diagnostic as unused
1 parent ce6bb5c commit bd18e5f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

crates/ide/src/diagnostics.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,6 @@ pub(crate) fn diagnostics(
165165
sema.diagnostics_display_range(d.display_source()).range,
166166
d.message(),
167167
)
168-
.with_unused(true)
169168
.with_fix(d.fix(&sema))
170169
.with_code(Some(d.code())),
171170
);

0 commit comments

Comments
 (0)