You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add a lint to force adding at least one test for each error code? #64811
A-lintsArea: Lints (warnings about flaws in source code) such as unused_mut.C-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.
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
Reacted by csmoe, Clément Nerma, lightclient, Jacob Adam, Esteban Kuber and Oleg Nosov
A-lintsArea: Lints (warnings about flaws in source code) such as unused_mut.C-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.
Activity
estebank commentedon Sep 27, 2019
Introducing it will be hard to do precisely because I'm sure a non insignificant amount of them are unreachable now.
GuillaumeGomez commentedon Sep 30, 2019
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.
Rollup merge of rust-lang#65135 - GuillaumeGomez:add-error-code-check…