Merge #8222
8222: Don't mark unlinked file diagnostic as unused r=lnicola a=jonas-schievink Fixes https://github.com/rust-analyzer/rust-analyzer/issues/8215, at least on VS Code Co-authored-by: Jonas Schievink <jonasschievink@gmail.com>
This commit is contained in:
commit
ae7de296ae
1 changed files with 0 additions and 1 deletions
|
|
@ -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())),
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue