Skip to content

Add missing long error code explanations #61137

Closed

Description

@GuillaumeGomez

This is a re-opening of #32777.

Explanations

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:

Activity

  1. added
    E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
    A-diagnosticsArea: Messages for errors, warnings, and lints
    on May 24, 2019
  2. imbrem commented on May 25, 2019

    @imbrem
    Contributor

    Can I take one of these on?

  3. GuillaumeGomez commented on May 26, 2019

    @GuillaumeGomez
    MemberAuthor

    @imbrem: Sure, go ahead! When you open a PR, please link to this issue so others can see what's being worked on.

  4. imbrem commented on May 26, 2019

    @imbrem
    Contributor

    Done! Actually, should I have requested/should I request you as a reviewer?

  5. added a commit that references this issue on May 28, 2019
  6. Krout0n commented on May 31, 2019

    @Krout0n
    Contributor

    Can I take one of these on too?

  7. GuillaumeGomez commented on Jun 1, 2019

    @GuillaumeGomez
    MemberAuthor

    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. :)

  8. added a commit that references this issue on Jun 18, 2019
  9. added
    A-docsArea: Documentation for any part of the project, including the compiler, standard library, and tools
    on Jul 12, 2019
  10. estebank commented on Sep 5, 2019

    @estebank
    Contributor

    E0307 handled in #64110.

  11. added
    E-help-wantedCall for participation: Help is requested to fix this issue.
    E-mentorCall for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.
    and removed
    E-mentorCall for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.
    on Sep 11, 2019
  12. 236 remaining items

  13. added 2 commits that reference this issue on Jan 8, 2023
  14. added 2 commits that reference this issue on Jan 12, 2023
  15. Ezrashaw commented on Jan 14, 2023

    @Ezrashaw
    Contributor

    @GuillaumeGomez sigh, turns out that E0476 isn't unreachable, I'll have to document it instead.

  16. GuillaumeGomez commented on Jan 15, 2023

    @GuillaumeGomez
    MemberAuthor

    It's fine. I'll update the list once the new PR is open.

  17. added a commit that references this issue on Jan 19, 2023
  18. added 2 commits that reference this issue on Feb 6, 2023
  19. added 2 commits that reference this issue on Feb 25, 2023
  20. added 2 commits that reference this issue on Feb 25, 2023
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 lintsA-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsD-newcomer-roadblockDiagnostics: Confusing error or lint; hard to understand for new users.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.E-help-wantedCall for participation: Help is requested to fix this issue.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.metabugIssues about issues themselves ("bugs about bugs")

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions