Rustc-dev-guide: "Diagnostics: reporting errors and lints"

Created on 18 Jan 2018  路  2Comments  路  Source: rust-lang/rustc-dev-guide

We should talk first about:

EDIT(mark-i-m): See https://github.com/rust-lang/rustc-dev-guide/issues/14#issuecomment-514932385

cc @estebank

Easy help wanted

All 2 comments

Looks to me like this issue is currently missing the following:

Errors:

  • How to find an error code and add an extended error
  • Conventions are how the error should be formatted (lowercase letter, etc)
  • when to use span_label etc

Lints:
Nothing? Maybe the section about removing lints present in the rustc Bug Fix Procedure could be added.

It might also be nice to link to the lint naming ~recommendations~ rules from RFC0344

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kenta7777 picture kenta7777  路  5Comments

mark-i-m picture mark-i-m  路  8Comments

mark-i-m picture mark-i-m  路  5Comments

mark-i-m picture mark-i-m  路  3Comments

nikomatsakis picture nikomatsakis  路  8Comments