Skip to content

error[E0541]: unknown meta item should show known unused meta items  #51469

Closed
@Havvy

Description

@Havvy

In #[deprecated(since="1.0.1", reason="Bad performance."], the error message should state that reason is unknown and that the known one is note since the only known meta items for deprecated are "since" and "note".

But this for every attribute that takes meta items.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-diagnosticsArea: Messages for errors, warnings, and lints

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions