Skip to content

An error message should not contain a keyword x such that searching rust + x has 0 relevant results on the first page  #42603

Closed
@SRGOM

Description

@SRGOM

Case in point: I get an error:

the trait `Foo` cannot be made into an object
....
method add has no receiver

I looked up rust receiver but couldn't find any relevant results. Upon investigating further, in this case, method add does not have a self parameter would be more appropriate.

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