Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Add a lint to force adding at least one test for each error code? #64811

Closed

Description

@GuillaumeGomez

A lot of error codes currently don't have ui tests nor long error explanation, therefore we cannot know if they're still thrown by the compiler which isn't an ideal situation... Should we add lint/check for this?

cc @rust-lang/compiler

Activity

  1. added
    A-lints
    C-enhancement
    T-compiler
    on Sep 26, 2019
  2. estebank commented on Sep 27, 2019

    @estebank
    Contributor

    Introducing it will be hard to do precisely because I'm sure a non insignificant amount of them are unreachable now.

  3. GuillaumeGomez commented on Sep 30, 2019

    @GuillaumeGomez
    MemberAuthor

    The lint can add a list of error codes to ignore in a first time. I'm currently going through error codes and adding explanations/tests.

  4. added a commit that references this issue on Oct 8, 2019
    ecd6229
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

A-lintsC-enhancementT-compiler

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions