mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 20:42:04 +00:00
Don't mark unlinked file diagnostic as unused
This commit is contained in:
parent
ce6bb5ccca
commit
bd18e5fa87
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,
|
sema.diagnostics_display_range(d.display_source()).range,
|
||||||
d.message(),
|
d.message(),
|
||||||
)
|
)
|
||||||
.with_unused(true)
|
|
||||||
.with_fix(d.fix(&sema))
|
.with_fix(d.fix(&sema))
|
||||||
.with_code(Some(d.code())),
|
.with_code(Some(d.code())),
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue