This is a re-opening of #32777.
Those error codes and their explanations are declared in files named error_codes.rs. In those files, you can see generally two macros: register_diagnostics and register_long_diagnostics. If an error code is in register_diagnostics, it means it lacks long error explanation. The goal of this issue is to add those missing explanations!
This is an easy first issue but don't hesitate to ask for help if you're stuck on something!
Here is the list of all error codes that don't have a long error explanation yet:
Can I take one of these on?
@imbrem: Sure, go ahead! When you open a PR, please link to this issue so others can see what's being worked on.
Done! Actually, should I have requested/should I request you as a reviewer?
Can I take one of these on too?
Sure, go ahead (and thanks!). Just like I told previously: don't forget to link to this issue once your PR is open so we can keep track. :)
E0307 handled in #64110.
@GuillaumeGomez Could you make E0697 checked? It's done in #65215.
@GuillaumeGomez could you make E0666 and E0728 checked? It's done in #65855 and #65678.
@JohnTitor done
I was looking into E0183 and I cannot find where any explanation for it exists at all.
Do I have to try and make each error happen myself, in order to document it, or is there something I am missing entirely?
@GuillaumeGomez E0623 should point to #66186, not #66018
How would I do this now that each error is in it's own .md file after #66314
The same but putting it into its own .md file?
E0203 handled by #66880
I'd love to take on E0631! Will link back here in the PR once it's done.
I would like to address E0637. PR #68908
@jwhite927 Sure, go ahead!
Working on E0719 right now! https://github.com/rust-lang/rust/pull/69620
@GuillaumeGomez I am picking E0628. I will link PR, once it is done.
@GuillaumeGomez I am picking E0693. I will link PR, once it is done.
@GuillaumeGomez next I am picking E0634. I will link PR, once it is done.
@ayushmishra2005 Sorry, completely fell behind. Updating the errors list. Thanks a lot for working on this issue! :)
I am picking E0657
I am picking E0696
PR for E0539
Most helpful comment
@ayushmishra2005 Sorry, completely fell behind. Updating the errors list. Thanks a lot for working on this issue! :)