Skip to content

Remove duplicate diagnostics introduced by #119432 #119647

Open
@gurry

Description

@gurry

A side effect of #119432 is that some overflowing operations on promoted consts now create duplicate diagnostics. Although not visible to the user, they are unnecessary and need to be addressed. See relevant conversation: #119432 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-const-evalArea: Constant evaluation, covers all const contexts (static, const fn, ...)A-const-propArea: Constant propagationA-diagnosticsArea: Messages for errors, warnings, and lintsC-cleanupCategory: PRs that clean code up or issues documenting cleanup.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