Don't mark unlinked file diagnostic as unused
This commit is contained in:
@@ -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())),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user