Skip to content

Merge E0539 and E0551? #51489

Closed
Closed
@Havvy

Description

@Havvy

These errors both state "invalid meta item". E0539 triggers for the (compiler only) stability attributes when the meta items are not key=value e.g. #[stable(since)] triggers it. E0551 does the same, but for deprecation attributes. I propose merging the error numbers into E0551 since that one's currently emitted on stable.

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.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions