Precise error names associated with error codes

The Rust Compiler Error Index (https://doc.rust-lang.org/error-index.html) has codes but no precise names, making it difficult to talk about errors. Each error should have both a code and a precise name. Sometimes the name is embedded into the explanation, but this isn’t enough to facilitate communication about errors. Similarly, the JSON representation of the error also doesn’t have a clear name field.

While having error names would be an improvement, I am interested in what are some specific difficulty in talking about errors. Aren’t errors usually discussed by referencing concrete code (which is often a link to Rust Playground) producing the error?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.