Skip to content

Suggest possible traits when none are imported #20784

@nrc

Description

@nrc

When we have e.foo() and there is an error because we can't find an implementation of foo we should search for any traits which include foo and suggest that the user might use one of those.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-diagnosticsArea: Messages for errors, warnings, and lintsA-trait-systemArea: Trait system

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions