3 ms·
The error message catalogue [1] mentioned at the end of that first blog is interesting, wonder if Rust would benefit from something similar. [1] https://github
by timlyo 9y ago
The error message catalogue [1] mentioned at the end of that first blog is interesting, wonder if Rust would benefit from something similar.
[1] https://github.com/elm-lang/error-message-catalog https://github.com/elm-lang/error-message-catalog
- dbaupp 9y agoRust has a strong policy of adding tests when adding/changing code, so almost all error messages are tested in some form, including "UI" tests, that check the exact formatting. Additionally, there's https://doc.rust-lang.org/error-index.html https://doc.rust-lang.org/error-index.html