Closed
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 "
self
type" 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
E0460
andE0457
#105860) - E0460 (Add long error docs for
E0460
andE0457
#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
E0465
intoE0464
#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
E0514
andE0519
#106236) - E0519 (docs/test: add docs and a UI test for
E0514
andE0519
#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
Metadata
Metadata
Assignees
Labels
Area: Messages for errors, warnings, and lintsArea: Documentation for any part of the project, including the compiler, standard library, and toolsDiagnostics: Confusing error or lint; hard to understand for new users.Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Call for participation: Help is requested to fix this issue.Relevant to the compiler team, which will review and decide on the PR/issue.Issues about issues themselves ("bugs about bugs")