Skip to content

Errors reported in rustc_lint::levels::LintLevelsBuilder::push occurs multiple times  #73301

Closed
@crlf0710

Description

@crlf0710
Member

It seems errors (validation failures) reported from rustc_lint::levels::LintLevelsBuilder::push will occur multiple times. Examples are E0453 (not covered by tests) and E0763 (being added in #73300 , unit test reflecting this problem). I'm not sure what's the best way forward.

Activity

added
C-bugCategory: This is a bug.
A-diagnosticsArea: Messages for errors, warnings, and lints
T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.
on Jun 13, 2020
Enselic

Enselic commented on Dec 28, 2023

@Enselic
Member

E0453 is actually covered by tests, it's just that its description contains an outdated error message. If you search for "incompatible with previous forbid" you will find the tests.

(I update the description of E0453 in #119388)

added a commit that references this issue on Dec 29, 2023

Rollup merge of rust-lang#119388 - Enselic:prevent-lint-triplication,…

c8d4274
added a commit that references this issue on Dec 30, 2023
a243ef5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-diagnosticsArea: Messages for errors, warnings, and lintsC-bugCategory: This is a bug.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

      Participants

      @Enselic@crlf0710

      Issue actions

        Errors reported in `rustc_lint::levels::LintLevelsBuilder::push` occurs multiple times · Issue #73301 · rust-lang/rust