Skip to content

Deduplicate diagnostics across linkedProjects #13858

Open
@kpreid

Description

@kpreid

In some cases, for compilation-related reasons (different target triples or compilation flags), it may be desirable to keep some parts of a single developer workspace/project not part of a single Cargo workspace (so that they do not share a target directory, or do not participate in workspace-wide build commands). If this is done, the option rust-analyzer.linkedProjects can be used to tell rust-analyzer about all of the Cargo workspaces within the project.

Currently, if a crate in one such workspace has a path dependency on a crate in another such workspace, the result will be that any warnings occurring in the latter are duplicated.

Feature request: Deduplicate warnings which are identical except for arising from distinct linkedProjects.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-diagnosticsdiagnostics / error reportingC-featureCategory: feature requestS-actionableSomeone could pick this issue up and work on it right now

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions