-
Notifications
You must be signed in to change notification settings - Fork 13.5k
Closed
Labels
A-frontendArea: Compiler frontend (errors, parsing and HIR)Area: Compiler frontend (errors, parsing and HIR)P-mediumMedium priorityMedium priority
Description
On IRC we were discussing how, for complex errors, we ought to put a link to a FAQ in the error message. Perhaps we could even embed the rust manual and print the relevant paragraph if you use rustc --explain
or something.
Some examples of errors that could benefit:
ret
disallowed from within sugared closure{|| ... }
;
required after a statement with non-unit type- etc.
This of course would also entail making such a FAQ. :)
Metadata
Metadata
Assignees
Labels
A-frontendArea: Compiler frontend (errors, parsing and HIR)Area: Compiler frontend (errors, parsing and HIR)P-mediumMedium priorityMedium priority