Repository navigation
Closed
Labels
A-diagnosticsArea: Messages for errors, warnings, and lintsArea: Messages for errors, warnings, and lintsA-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsArea: 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.Diagnostics: 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.Call 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.Call for participation: Help is requested to fix this issue.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.metabugIssues about issues themselves ("bugs about bugs")Issues about issues themselves ("bugs about bugs")
Description
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:
- E0183 (add long explanation for E0183 #89885)
- E0203 (Add long error code explanation message for E0203 #66880)
- E0208 (Add documentation for error E0208 #98011)
- E0212
- E0224
- E0226
- E0227 (Make naked functions incompatible with certain attributes #93809)
- E0228
- E0279 (not emitted anymore)
- E0280 (remove E0280 #106521)
- E0284
- E0307 (Refer to "
selftype" instead of "receiver type" #64110) - E0311 (Add long description and test for E0311 #100747)
- E0312 (Add long error explanation for E0312 #64347)
- E0313 (remove unreachable error code
E0313#106580) - E0316
- E0320 (docs: add long error explanation for error E0320 #105792)
- E0377 (docs/test: add UI test and long-form error docs for
E0377#105935) - E0457 (Add long error docs for
E0460andE0457#105860) - E0460 (Add long error docs for
E0460andE0457#105860) - E0461 (docs/test: add UI test and long-form error docs for
E0461#106028) - E0462
- E0464 (Include rmeta candidates in "multiple matching crates" error #89587)
- E0465 (refactor: merge error code
E0465intoE0464#106282) - E0472 (docs: add long error explanation for error E0472 #105791)
- E0476 (docs/test: add UI test and docs for
E0476#108444) - E0477
- E0482 (Add long explanation for error E0482 #89710)
- E0490 (remove unreachable error code
E0490#106714) - E0493 (Add long error explanation for E0493 #64377)
- E0495 (Add long error explanation for E0495 #64404)
- E0498 (Add long explanation for E0498 #87521)
- E0514 (docs/test: add docs and a UI test for
E0514andE0519#106236) - E0519 (docs/test: add docs and a UI test for
E0514andE0519#106236) - E0521
- E0523
- E0524 (Error explanation e0524 #64428)
- E0531 (Add Long error explanation for E0531 #64455)
- E0533 (Add long error explanation for E0533 #64735)
- E0539 (error than can only appear inside libstd code)
- E0542 (error than can only appear inside libstd code)
- E0543 (error than can only appear inside libstd code)
- E0544 (error than can only appear inside libstd code)
- E0545 (error than can only appear inside libstd code)
- E0546 (error than can only appear inside libstd code)
- E0547 (error than can only appear inside libstd code)
- E0549 (error than can only appear inside libstd code)
- E0550 (Add long error explanation for E0550 #64838)
- E0551 (Add long error explanation for E0551 #64918)
- E0556 (Add long error explanation for E0556 #65055)
- E0561 (Add long error explanation for E0561 #65098)
- E0564 (Add check for missing tests for error codes #65135) not emitted anymore
- E0566 (Add long error explanation for E0566 #65164)
- E0567 (Add long error explanation for E0567 #65179)
- E0568 (Add long error explanation for E0568 #65205)
- E0573 (Add long error explanation for E0573 #65234)
- E0574 (Add long error explanation for E0574 #65308)
- E0575 (Add long error explanation for E0575 #65334)
- E0576 (Add long error explanation for E0576 #65390)
- E0577 (Add long error explanation for E0577 #65434)
- E0578 (Add long error explanation for E0578 #65471)
- E0584 (Add long error explanation for E0584 #65493)
- E0587 (Add long error explanation for E0587 #65563)
- E0588 (Add long error explanation for E0588 #65591)
- E0592 (Add explanation for E0592 #61822)
- E0594 (Add long error explanation for E0594 #66155)
- E0623 (Add long error explanation for E0623 #66186)
- E0625 (Add long error explanation for E0625 #87715)
- E0627
- E0628 (Add long error explanation for E0628 #69867)
- E0631 (Add long error for E0631 and update ui tests. #66979)
- E0632
- E0634 (Add long error explanation for E0634 #69998)
- E0637 (Add long error code explanation message for E0637 #68908)
- E0640 (Add documentation for error E0208 #98011)
- E0641
- E0657
- E0666
- E0667 (Add long error explanation for E0667 #95364)
- E0687
- E0688
- E0693 (Add long error explanation for E0693 #69993)
- E0696
- E0697 (Add long error explanation for E0697 #65215)
- E0703
- E0706
- E0708
- E0710
- E0711 (Add documentation for error E0208 #98011)
- E0717 (Add documentation for error E0208 #98011)
- E0719 (doc(librustc_error_codes): add long error explanation for E0719 #69620)
- E0722
- E0724
- E0726
- E0727
- E0728
- E0734 (Add E0734 and its long explanation #64763)
- E0739 (Add long error explanation for E0739 #69876)
- E0740 (Create new error E0742 and add long error explanation #65405)
- E0772
Reacted by Esteban Kuber, chansuke, mark, rnd, Ilija Tovilo, Serak Shiferaw, LORIS INTERGALACTIQUE, Josh White, 许杰友 Jieyou Xu (Joe), Eduard Rubio Cholbi and 5 more
Metadata
Metadata
Assignees
Labels
A-diagnosticsArea: Messages for errors, warnings, and lintsArea: Messages for errors, warnings, and lintsA-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsArea: 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.Diagnostics: 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.Call 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.Call for participation: Help is requested to fix this issue.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.metabugIssues about issues themselves ("bugs about bugs")Issues about issues themselves ("bugs about bugs")
Activity
imbrem commentedon May 25, 2019
Can I take one of these on?
GuillaumeGomez commentedon May 26, 2019
@imbrem: Sure, go ahead! When you open a PR, please link to this issue so others can see what's being worked on.
imbrem commentedon May 26, 2019
Done! Actually, should I have requested/should I request you as a reviewer?
Add missing error code explanation for E0183
Rollup merge of rust-lang#61220 - imbrem:error_explanations, r=estebank
Krout0n commentedon May 31, 2019
Can I take one of these on too?
GuillaumeGomez commentedon Jun 1, 2019
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. :)
Auto merge of #61822 - JohnTitor:add-long-e0592, r=GuillaumeGomez,Cen…
estebank commentedon Sep 5, 2019
E0307 handled in #64110.
236 remaining items
Rollup merge of rust-lang#106580 - Ezrashaw:remove-e0313, r=compiler-…
Rollup merge of rust-lang#106521 - oskgo:remove-E0280, r=jackh726
Rollup merge of rust-lang#106714 - Ezrashaw:remove-e0490, r=davidtwco
Rollup merge of rust-lang#106714 - Ezrashaw:remove-e0490, r=davidtwco
Ezrashaw commentedon Jan 14, 2023
@GuillaumeGomez sigh, turns out that
E0476isn't unreachable, I'll have to document it instead.GuillaumeGomez commentedon Jan 15, 2023
It's fine. I'll update the list once the new PR is open.
Rollup merge of rust-lang#106931 - Ezrashaw:docs-e0208, r=compiler-er…
Rollup merge of rust-lang#100599 - MatthewPeterKelly:add-E0523-descri…
Rollup merge of rust-lang#100599 - MatthewPeterKelly:add-E0523-descri…
Rollup merge of rust-lang#108444 - Ezrashaw:add-test+docs-for-e0476, …
Rollup merge of rust-lang#108444 - Ezrashaw:add-test+docs-for-e0476, …
Rollup merge of rust-lang#108444 - Ezrashaw:add-test+docs-for-e0476, …
Rollup merge of rust-lang#108482 - Ezrashaw:force-error-docs, r=Guill…
Rollup merge of #100747 - MatthewPeterKelly:mpk/add-long-error-messag…