Closed
Description
We should talk first about:
- Guidelines for emitting errors
- How to find an error code and add an extended error
- Conventions are how the error should be formatted (lowercase letter, etc)
- link or maybe just inline the RFC with guidelines on how extended errors should look
- when to use
span_label
etc
- How to emit lints
- When to use a lint
- If you have a tcx
- Before you have a tcx
- Some tips here at the end of Rustc bug fix procedure
EDIT(mark-i-m): See #14 (comment)
cc @estebank
Metadata
Metadata
Assignees
Type
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity
Renamed the file and title of the diagnostics chapter.
Renamed the file and title of the diagnostics chapter.
Karrq commentedon Jul 25, 2019
Looks to me like this issue is currently missing the following:
Errors:
span_label
etcLints:
Nothing? Maybe the section about removing lints present in the rustc Bug Fix Procedure could be added.
phansch commentedon Aug 26, 2019
It might also be nice to link to the lint naming
recommendationsrules from RFC0344Renamed the file and title of the diagnostics chapter.
2 remaining items