Skip to content

"E0432 unresolved import" on the same line should emit one diagnostic #53359

Closed
@estebank

Description

@estebank

Currently when writing use foo::{bar, baz, qux} when foo exists but none of bar, baz and qux do, we emit one diagnostic per unresolved import. We should collect these onto a single multispan error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-diagnosticsArea: Messages for errors, warnings, and lintsC-enhancementCategory: An issue proposing an enhancement or a PR with one.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions