File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -742,10 +742,12 @@ Points of note:
742
742
743
743
## Diagnostics
744
744
745
- Rust is renowned for having great compiler diagnostics, so it's probably a good
746
- place to get inspiration from.
745
+ The paper [ P2429 - Concepts Error Messages for
746
+ Humans] ( https://wg21.tartanllama.xyz/P2429%20-%20Concepts%20Error%20Messages%20for%20Humans.pdf )
747
+ is C++ centric, but has a nice review of quality error reporting in various
748
+ compilers including Elm, ReasonML, Flow, D and Rust.
747
749
748
- Some resources:
750
+ Some Rust-specific resources:
749
751
* [ rustc_errors::Diagnostic] ( https://doc.rust-lang.org/stable/nightly-rustc/rustc_errors/struct.Diagnostic.html )
750
752
* The source of the Rust compiler's diagnostics system:
751
753
- The [ ` println! ` macro] ( https://github.com/rust-lang/rust/blob/0b6f079e4987ded15c13a15b734e7cfb8176839f/compiler/rustc_builtin_macros/src/format.rs )
You can’t perform that action at this time.
0 commit comments